CVE-2025-58158harness
High 8.8
Follow: this CVE · harness · harness We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 29, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for harness.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/harness/gitness |
≥ 1.0.4 < 3.3.0 |
3.3.0 |
go get github.com/harness/gitness@v3.3.0 |
| Go | github.com/harness/gitness |
< 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
go get github.com/harness/gitness@v1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
| Go | github.com/harness/gitness |
< 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
go get github.com/harness/gitness@v1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 |
Per OSV / GitHub Advisories (GHSA-w469-hj2f-jpr5, GO-2025-3926). Check the version in your lockfile before upgrading.
Affected products
- harness · harness
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.