Skip to content

CVE-2026-18375 pagure: Pagure: API ACL bypass allows unauthorized repository creation via browser session check

HighCVSS 8.6
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/pagure(Debian:13) All versions No fix listed
debian/pagure(Debian:13) = 5.14.1+dfsg-7 No fix listed
debian/pagure(Debian:13) = 5.14.1+dfsg-8 No fix listed
ubuntu/pagure(Ubuntu:22.04) All versions No fix listed
ubuntu/pagure(Ubuntu:24.04) All versions No fix listed
ubuntu/pagure(Ubuntu:26.04) All versions No fix listed

References