Security mailing lists by PureSourceCode

CVE-2025-58158

HIGH 8.8CVSS 3.1

Harness Allows Arbitrary File Write in Gitness LFS server

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.

Published
29 Aug 2025
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22CWE-73
Also known as
GHSA-w469-hj2f-jpr5GO-2025-3926
Sources
NVDJSONOSV GHSA-w469-hj2f-jpr5JSONOSV GO-2025-3926JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/harness/gitness >= 1.0.4, < 3.3.0 3.3.0
OSV Go github.com/harness/gitness < 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Sep 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.