SecurityContext

CVE-2026-49248: OneDev - Path Traversal

  • Cve: CVE-2026-49248
  • Name: OneDev - Path Traversal
  • Description: OneDev is a Git server with CI/CD, kanban, and packages. In versions 15.0.6 and below, TarUtils.untar() creates symbolic links verbatim from TAR entry getLinkName() without validating whether the target is an absolute path. A subsequent file entry in the same archive traverses the symlink, writing to arbitrary server-side locations. This is exploitable by any authenticated user with CI Job write access — no admin interaction required. This is an incomplete fix bypass of CVE-2021-21251 (GHSA-2w6j-wc8c-9mq2): that patch blocked .. path segments but did not address absolute symlink targets. This issue has been fixed in version 15.0.7.
  • Impact: Authenticated CI Job users can write files to arbitrary server locations, potentially leading to data tampering or further compromise.
  • Remediation: Update to version 15.0.7 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs CI Job write access
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.3
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.0057
  • Epss percentile: 0.48106
  • Assignee: [email protected]
  • Published at: 2026-06-18T21:16:29Z
  • Age in days: 159
  • Modified at: 2026-10-26T11:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49248
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-61UNIX Symbolic Link (Symlink) Following

References

UrlSourceTags
https://github.com/theonedev/onedev/commit/4f8684acebc4bfeefd3c7e23a34a4fd591cb27adnvd
https://github.com/theonedev/onedev/security/advisories/GHSA-55g8-94r5-cj37nvd

Products

ProductAffectedPlatform boundSourcesUrl
onedev_project:onedev< 15.0.7nocna_alias_text/v1/products/onedev_project/onedev

Projects

RepositoryLink kindsIndexedUrl
theonedev/onedevcommit, fix, security_advisoryyes/v1/repositories/theonedev/onedev

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 7
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports