Privilege escalation in Osrg Gobgp

CVE-2026-5122

A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.

EPSS: 0.003 (21.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-5122?
CVE-2026-5122 is a low-severity vulnerability in Osrg Gobgp, classified under Incorrect Privilege Assignment. CVSS score: 3.7/10. Published 2026-03-30.
How severe is CVE-2026-5122?
Low severity. CVSS v3 base score is 3.7 out of 10.