Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to OneDev with CI Job write role
-
DeliveryCraft TAR with absolute-path symlink + follow-up file entry
-
ExploitSubmit archive to a job that invokes TarUtils.untar()
-
InstallSymlink created verbatim, file write follows link
-
C2Overwrite OneDev config, JAR, or authorized_keys
-
ExecuteTrigger reload or reconnect
-
ImpactCode execution as OneDev service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
|
| Exploitation Conditions | Exploitation requires (1) a reachable OneDev instance at version 15.0.6 or earlier, (2) valid credentials for an account that has been granted CI Job write permission on at least one project - admin is explicitly NOT required, but anonymous access is insufficient - and (3) the ability to supply a TAR archive that OneDev's |
| Impact | Real-world risk is meaningful but bounded by the authentication requirement. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VI:H and SI:H scores 8.3 and correctly captures that any low-privileged authenticated user with CI Job write access can trigger network-reachable, integrity-impacting writes without user interaction; confidentiality (VC:N) and availability (VA:N) are appropriately rated since the primitive is file-write, not direct read or crash. SSVC framing: exploitation is |
| Exploit ScenarioDerived | An internal developer or compromised low-privilege account with CI Job write access uploads or references a malicious TAR archive (for example as a build artifact or job dependency) whose first entry is a symlink such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Arbitrary file write in OneDev 15.0.6 and earlier allows any authenticated user with CI Job write access to overwrite files anywhere on the server filesystem by uploading a crafted TAR archive whose symbolic link entries point to absolute paths outside the extraction directory. The flaw is an incomplete-fix bypass of CVE-2021-21251, which only blocked .. path traversal in TAR entry names but never validated symlink targets. No public exploit has been identified at time of analysis, but the official patch commit and GitHub Security Advisory GHSA-55g8-94r5-cj37 publicly describe the bypass mechanism.
RemediationAI
Vendor-released patch: OneDev 15.0.7 - upgrade immediately via the standard OneDev upgrade procedure; the fix is delivered through bumped internal module versions (commons 3.3.1 and agent 2.5.9) per commit 4f8684a, so a partial component update will not suffice and the full 15.0.7 release should be deployed. Where an immediate upgrade is not possible, the most effective compensating control is to restrict CI Job write access to a minimal trusted set of users via OneDev's role/permission system, since exploitation requires that specific permission rather than admin; the trade-off is that legitimate pipeline authors temporarily lose self-service. As a secondary mitigation, run the OneDev server process under a dedicated unprivileged UID with strict filesystem ACLs on its install directory, configuration files, and any mounted CI workspace, and consider AppArmor/SELinux confinement that denies writes outside the OneDev data directory - this blunts the impact of arbitrary file writes but does not prevent overwrite of OneDev's own config or job scripts. Refer to https://github.com/theonedev/onedev/security/advisories/GHSA-55g8-94r5-cj37 for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OneDev is a self-hosted Git server with integrated CI/CD, kanban, and package registries written in Java. The vulnerable code path is TarUtils.untar(), which iterates TAR entries and, for entries flagged as symbolic links, creates a symlink on disk using the raw value returned by Apache Commons Compress's TarArchiveEntry.getLinkName() without normalizing or sandboxing the link target. When a later file entry in the same archive is written through that symlink, the write follows the link to an attacker-chosen absolute path. This is a textbook CWE-61 (UNIX Symbolic Link Following) issue and a classic TAR-slip variant: the 2021 fix only sanitized entry names for .. traversal, leaving absolute symlink targets (e.g. /etc/cron.d/x, /opt/onedev/conf/hibernate.properties) unvalidated. The vulnerable CPE is cpe:2.3:a:theonedev:onedev:*:*:*:*:*:*:*:* up through 15.0.6, and the patch commit 4f8684a bumps internal commons and agent module versions to 3.3.1 / 2.5.9 respectively, indicating the hardening lives in those shared utility modules.
Know when Onedev gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable HTTP API, low complexity, requires authenticated user with CI Job write role (PR:L), no user interaction; primitive is arbitrary file write so I:H, with C:N and A:N as direct impacts.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
OneDev versions 15.0.6 and earlier contain an arbitrary file-write vulnerability affecting any authenticated user with CI Job access, enabling unauthorized overwriting of system files through a symbolic-link bypass. This incomplete fix to a prior vulnerability (CVE-2021-21251) could allow compromised or malicious CI accounts to alter application code, exfiltrate data, or achieve remote code execution. Organizations running OneDev must immediately audit affected deployments and restrict CI permissions to trusted personnel.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict CI Job write access via role-based access control to minimal set of trusted accounts; (2) Enforce MFA on all accounts with CI permissions; (3) Implement application-level audit logging and alerting for TAR archive uploads and file writes; (4) Deploy file integrity monitoring (HIDS/FIM tools) on critical system directories; (5) Network segmentation to limit OneDev server connectivity to trusted build agents; (6) Disable TAR-based artifact uploads if operationally feasible, substitute with signed binary formats.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. Rated critical severity (CVSS 9.9), this vulnera
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. Rated critical severity (CVSS 9.8), this vulnera
Onedev v7.4.14 contains a path traversal vulnerability which allows attackers to access restricted files and directories
OneDev is a Git server with CI/CD, kanban, and packages. Rated high severity (CVSS 8.7), this vulnerability is remotely
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. Rated high severity (CVSS 7.5), this vulnerabili
OneDev is an all-in-one devops platform. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no
OneDev is an all-in-one devops platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
OneDev is an all-in-one devops platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
OneDev is an all-in-one devops platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
OneDev is an all-in-one devops platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. Rated medium severity (CVSS 5.4), this vulnerabi
Onedev is a self-hosted Git Server with CI/CD and Kanban. Rated high severity (CVSS 8.8), this vulnerability is remotely
EUVD-2026-37942
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB