ADVISORIES

PyPA Advisory Database

PYSEC-2026-3052

OpenFUN Richie Observable Timing Discrepancy in its sync_course_run_from_request function

Details

An issue in OpenFUN Richie (LMS) in src/richie/apps/courses/api.py. The application used the non-constant time == operator for HMAC signature verification in the sync_course_run_from_request function. This allows remote attackers to forge valid signatures and bypass authentication by measuring response time discrepancies.

Affected packages

EcosystemPackageAffected versions
PyPIrichie
All versions before 3.3.0 (fixed in 3.3.0)

References