Bug 2508684 (CVE-2026-18375) - CVE-2026-18375 pagure: Pagure: API ACL bypass allows unauthorized repository creation via browser session check
Summary: CVE-2026-18375 pagure: Pagure: API ACL bypass allows unauthorized repository ...
Keywords:
Status: NEW
Alias: CVE-2026-18375
Deadline: 2026-08-01
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 23:06 UTC by OSIDB Bzimport
Modified: 2026-08-04 21:17 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-29 23:06:28 UTC
The check_api_acls() function in Pagure's API returns immediately without performing any ACL validation when the requesting user has an active browser session. API endpoints protected by @api_login_required, including the project creation endpoint (POST /api/0/new) and a range of repository management endpoints, rely on this function for access control. As a result, any authenticated Fedora Account holder can invoke these privileged endpoints from a browser context, bypassing group membership requirements — specifically the packager group check enforced in REQUIRED_GROUPS — that would otherwise restrict access. This allows unauthorized creation of repositories under restricted namespaces such as rpms/, which Koji's SCM policy treats as trusted source locations. The fix adds REQUIRED_GROUPS validation to new_project() and ensures ACL checks are enforced regardless of session type.


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