# CVE-2025-3931: Yggdrasil: local privilege escalation in yggdrasil

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-280
- **Aliases:** GHSA-rpg2-jvhp-h354, GO-2025-3688
- **Published:** 2025-05-14T11:54:50.290Z
- **Modified:** 2026-11-23T15:17:20.130Z

## Who should check

- Projects that depend on Go package github.com/redhatinsights/yggdrasil (\<= 0.4.6)
- Anyone running yggdrasil \< 0.4.7
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
- Anyone running Red Hat Satellite 6 (versions: see the vendor advisory)

## Description

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.

## Affected and fixed versions

- Go `github.com/redhatinsights/yggdrasil`: affected \<= 0.4.6; fixed no fix listed yet (osv)
- yggdrasil: \< 0.4.7 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Red Hat Satellite 6: see vendor advisory (cvelist)

## Mitigation

- Upgrade yggdrasil to 0.4.7 or later.
- Vendor workaround: Mitigation is either unavailable or does not meet Red Hat Product Security standards for usability, deployment, applicability, or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-3931. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-3931.md
Affected: github.com/redhatinsights/yggdrasil <= 0.4.6
Fixed in: yggdrasil 0.4.7

Steps:
1. Search this machine and project for github.com/redhatinsights/yggdrasil (Go), yggdrasil, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Satellite 6: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-3931 being exploited?

There is no confirmed exploitation: CVE-2025-3931 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-3931?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-3931?

github.com/redhatinsights/yggdrasil \<= 0.4.6.

### Is there a fix for CVE-2025-3931?

Yes. Fixed in yggdrasil 0.4.7. Upgrade yggdrasil to 0.4.7 or later. Vendor workaround: Mitigation is either unavailable or does not meet Red Hat Product Security standards for usability, deployment, applicability, or stability.

### How do I check if I'm affected by CVE-2025-3931?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:7592>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-3931>
- vendor: <https://github.com/advisories/GHSA-rpg2-jvhp-h354>
- patch: <https://github.com/RedHatInsights/yggdrasil/pull/336>
- patch: <https://github.com/RedHatInsights/yggdrasil/commit/196d0cbea42f72e6dfecaa563681a99e9fdb4a38>
- other: <https://access.redhat.com/security/cve/CVE-2025-3931>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2362345>
- other: <https://github.com/RedHatInsights/yggdrasil>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-3931>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rpg2-jvhp-h354> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3688> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-3931> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-3931>
