# CVE-2026-49248: OneDev: RCE through absolute-path symlink following allows low-privileged users to overwrite arbitrary server via TarUtils.untar

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 41% of CVEs (2026-11-30)
- Published: 2026-06-18T19:54:01.665Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- theonedev onedev: < 15.0.7

## References

- <https://github.com/theonedev/onedev/security/advisories/GHSA-55g8-94r5-cj37>
- <https://github.com/theonedev/onedev/commit/4f8684acebc4bfeefd3c7e23a34a4fd591cb27ad>

## Sources

- CVE List: [CVE-2026-49248](https://www.cve.org/CVERecord?id=CVE-2026-49248), CVE Terms of Use, modified 2026-06-22
- NVD: [CVE-2026-49248](https://nvd.nist.gov/vuln/detail/CVE-2026-49248), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-49248 · Whole record: https://cve.day/CVE-2026-49248.json · Rebuilt by cve.day 2026-11-25T22:59:25.175Z
