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

Published Jun 18, 2026
·
Updated

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.

Affected Software

1 affected component
OneDev OneDev<=15.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OneDev to a version that resolves this vulnerability.

    Fixed in 15.0.7

Event History

Jun 18, 2026
CVE Published
via MITRE·07:54 PM
Data Sourced
via MITRE·07:54 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-49248?

The severity of CVE-2026-49248 is rated at 76, indicating a moderate risk level.

2

How do I fix CVE-2026-49248?

To fix CVE-2026-49248, upgrade to OneDev version 15.0.7 or later where the vulnerability has been addressed.

3

Who is affected by CVE-2026-49248?

Low-privileged users on OneDev versions 15.0.6 and below are affected by CVE-2026-49248.

4

What type of vulnerability is CVE-2026-49248?

CVE-2026-49248 is a remote code execution (RCE) vulnerability due to improper handling of symbolic links.

5

What can attackers do with CVE-2026-49248?

Attackers can exploit CVE-2026-49248 to overwrite arbitrary server files by leveraging symbolic link vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203