Bug 2531947

Summary: CVE-2026-88031 lego: MongoDB Go Driver: Data deletion via query-operator injection in GridFS file IDs [fedora-all]
Product: [Fedora] Fedora Reporter: Mirco Geremia <mgeremia>
Component: legoAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: go-sig, mikel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["266dcdfc-1cb9-4ecd-9622-313a3d9b3727"]}
Fixed In Version: lego-5.5.1-1.fc45 lego-5.5.1-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-22 00:18:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mirco Geremia 2026-09-11 15:27:05 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Go Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.

Comment 1 Fedora Update System 2026-09-18 22:09:24 UTC
FEDORA-2026-578a96e5f5 (lego-5.5.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-578a96e5f5

Comment 2 Fedora Update System 2026-09-18 22:09:32 UTC
FEDORA-2026-9eaee019b6 (lego-5.5.1-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9eaee019b6

Comment 3 Fedora Update System 2026-09-19 01:40:51 UTC
FEDORA-2026-9eaee019b6 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-9eaee019b6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9eaee019b6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-09-19 02:19:44 UTC
FEDORA-2026-578a96e5f5 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-578a96e5f5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-578a96e5f5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-22 00:18:32 UTC
FEDORA-2026-9eaee019b6 (lego-5.5.1-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-09-22 00:54:30 UTC
FEDORA-2026-578a96e5f5 (lego-5.5.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.