GHSA-w469-hj2f-jpr5

Suggest an improvement
Source
https://github.com/advisories/GHSA-w469-hj2f-jpr5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-w469-hj2f-jpr5/GHSA-w469-hj2f-jpr5.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-w469-hj2f-jpr5
Aliases
  • CVE-2025-58158
Published
2025-08-29T16:41:57Z
Modified
2025-08-29T21:42:27.834771Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Harness Allows Arbitrary File Write in Gitness LFS server
Details

Impact

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.

Patches

Users have to upgrade to v3.3.0 . All previous versions are affected by this vulnerability.

Database specific
{
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-08-29T16:41:57Z",
    "nvd_published_at": "2025-08-29T18:15:42Z",
    "cwe_ids": [
        "CWE-22",
        "CWE-73"
    ]
}
References

Affected packages

Go / github.com/harness/gitness

Package

Name
github.com/harness/gitness
View open source insights on deps.dev
Purl
pkg:golang/github.com/harness/gitness

Affected ranges

Type
SEMVER
Events
Introduced
1.0.4
Fixed
3.3.0

Go / github.com/harness/gitness

Package

Name
github.com/harness/gitness
View open source insights on deps.dev
Purl
pkg:golang/github.com/harness/gitness

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13