Bug 2588692 (CVE-2026-142124) - CVE-2026-142124 rhsm-subscriptions: rhsm-subscriptions: SQL injection in EventRecordRepository.findConflictingEvents via orgId and instanceId
Summary: CVE-2026-142124 rhsm-subscriptions: rhsm-subscriptions: SQL injection in Even...
Keywords:
Status: NEW
Alias: CVE-2026-142124
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
: 2588683 2588684 2588685 (view as bug list)
Depends On:
Blocks: CVE-2026-119373
TreeView+ depends on / blocked
 
Reported: 2026-12-02 13:35 UTC by OSIDB Bzimport
Modified: 2026-12-03 00:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-02 13:35:01 UTC
A flaw was found in rhsm-subscriptions (Subscription Watch). The EventRecordRepository.findConflictingEvents method builds a native SQL query by formatting the orgId and instanceId values of events into single-quoted string literals without escaping or parameter binding, and executes it with createNativeQuery. Event ingestion validates only that instanceId is not null. The instanceId of events derived from host inventory is the host's provider_id, which host inventory accepts as any string of up to 500 characters. Based on static code review, a customer-controlled provider_id may therefore reach the query and alter the executed SQL, which could allow reading or modifying data in the service database. This was determined by static code review; it has not been tested against a running instance.

Comment 1 Michal Findra 2026-12-03 00:14:35 UTC
*** Bug 2588683 has been marked as a duplicate of this bug. ***

Comment 2 Michal Findra 2026-12-03 00:14:45 UTC
*** Bug 2588684 has been marked as a duplicate of this bug. ***

Comment 3 Michal Findra 2026-12-03 00:14:53 UTC
*** Bug 2588685 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.