CVE-2022-42917

frr: FRRouting FRR: Privilege escalation via TOCTOU race condition

Published Sep 13, 2026 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (/etc/frr) and replacing config files upon creation with, for example, symlinks to change the ownership of arbitrary files. This is a TOCTOU Race Condition caused by a combination of touch and chown.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title frr: FRRouting FRR: Privilege escalation via TOCTOU race condition
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Frrouting
Frrouting frrouting
Weaknesses CWE-367
CPEs cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*
Vendors & Products Frrouting
Frrouting frrouting
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (/etc/frr) and replacing config files upon creation with, for example, symlinks to change the ownership of arbitrary files. This is a TOCTOU Race Condition caused by a combination of touch and chown.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 14, 2026, 6:15 PM
Reserved
Oct 13, 2022, 12:00 AM
Status
Awaiting Analysis
Published
Sep 14, 2026, 12:16 AM
Modified
Nov 10, 2026, 12:10 PM
Severity
Moderate
Public date
Sep 13, 2026, 12:00 AM