CVE-2025-3931
Yggdrasil: local privilege escalation in yggdrasil
Reported by redhat · Published May 14, 2025
github.com/redhatinsights/yggdrasil is fixed in 0.4.6 (Go Modules)
A flaw was found in Yggdrasil, which acts as a system broker, allowing the processes to communicate to other children's "worker" processes through the DBus component. Yggdrasil creates a DBus method to dispatch messages to workers. However, it misses authentication and authorization checks, allowing every system user to call it. One available Yggdrasil worker acts as a package manager with capabilities to create and enable new repositories and install or remove packages. This flaw allows an attacker with access to the system to leverage the lack of authentication on the dispatch message to force the Yggdrasil worker to install arbitrary RPM packages. This issue results in local privilege escalation, enabling the attacker to access and modify sensitive system data.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/redhatinsights/yggdrasil | Go Modules | 0.4.6 |
| yggdrasil | GitHub Packages | 0.4.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.4.5-3.el10_0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Satellite 6 | |
| github.com | redhatinsights/yggdrasil | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.4.5-3.el10_0 |
| Red Hat | Red Hat Satellite 6 | |
| Red Hat | Red Hat Enterprise Linux 8 |
Timeline
- May 14, 2025 CVE Published
- May 14, 2025 EPSS Score (30 in total, the first dated here)
- May 14, 2025 PoC Published (2 in total, the first dated here)
- May 17, 2025 Coalition ESS Score (8 in total, the first dated here)
- Mar 3, 2026 CVE Updated
- Mar 11, 2026 Security Advisory (3 in total, the first dated here)
- Apr 29, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-3931
vulnetix vdb fixes CVE-2025-3931
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-3931/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:7592 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2362345 issue-trackingx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2025-3931 advisory
- https://github.com/advisories/GHSA-rpg2-jvhp-h354 advisory
- https://github.com/RedHatInsights/yggdrasil/commit/196d0cbea42f72e6dfecaa563681a99e9fdb4a38 patch
- https://github.com/RedHatInsights/yggdrasil url