CVE-2025-58158 — Harness Allows Arbitrary File Write in...
Harness Allows Arbitrary File Write in Gitness LFS server
Summary
Advisory Timeline
- First published August 29, 2025 (409 days ago).
- Last revised September 17, 2025 — 19 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/harness/gitness@v1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13
go get github.com/harness/gitness@v3.3.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/harness/gitness | go | All versions | 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
| github.com/harness/gitness | go | All versions | 3.3.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
- CWE-73
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-58158?
- Harness Allows Arbitrary File Write in Gitness LFS server This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-58158?
- CVE-2025-58158 affects github.com/harness/gitness. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-58158 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-107809HIGH
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- CVE-2026-107813HIGH
Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies