Harness Affected by Arbitrary File Write in Gitness LFS server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harness | harness | before 3.3.0 | 3.3.0 | Patch available | CNA |
| — | github.com/harness/gitness (Go) | 1.0.4 to before 3.3.0 | 3.3.0 | Patch available | GHSA-w469-hj2f-jpr5 |
| — | github.com/harness/gitness (Go) | before 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 | 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 | Patch available | GHSA-w469-hj2f-jpr5 |
- harness Vendorharness Affected before 3.3.0 Fixed in 3.3.0 Patch available CNA
- github.com/harness/gitness (Go) Vendor— Affected 1.0.4 to before 3.3.0 Fixed in 3.3.0 Patch available GHSA-w469-hj2f-jpr5
- github.com/harness/gitness (Go) Vendor— Affected before 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 Fixed in 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 Patch available GHSA-w469-hj2f-jpr5
Remediation
- Fix · CNA harness (harness) Fixed in 3.3.0
- Fix · GHSA-w469-hj2f-jpr5 github.com/harness/gitness (Go) Fixed in 3.3.0 Advisory →
- Fix · GHSA-w469-hj2f-jpr5 github.com/harness/gitness (Go) Fixed in 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58158
- 2026-10-03 Alias added: GHSA-w469-hj2f-jpr5
References
More harness vulnerabilities
- TI-2026-62496 Harness through 3.3.0 Missing Access Control via infraproviders endpoint CVSS 4.0HIGH 7.1
Sources
- CVE-2025-58158 · CVE Program
- CVE-2025-58158 · NVD
- FIRST EPSS
- GHSA-w469-hj2f-jpr5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences