Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/theonedev/onedev/commit/4f8684acebc4bfeefd3c7e23a34a4fd591cb2
- https://github.com/theonedev/onedev/security/advisories/GHSA-55g8-94r5-cj37
FAQ
What is CVE-2026-49248?
CVE-2026-49248 is a documented vulnerability. 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 targ...
How severe is CVE-2026-49248?
CVSS scoring is not yet available for CVE-2026-49248. Check NVD for updates.
Is there a patch for CVE-2026-49248?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.