Vulnerabilities in pkg:pypi/richie

PACKAGE
Advisory Identifier: GHSA-xjhr-fm27-4hmx
Advisory Summary

CVE-2026-26717 is a MODERATE (CVSS 4.8) openfun richie observable timing discrepancy vulnerability (CWE-208: Observable Timing Discrepancy) affecting Richie libraries in the PyPI ecosystem. The issue involves openfun richie observable timing discrepancy in its sync_course_run_from_request function. Remediation is available by upgrading affected packages to version 3.3.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/richie

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/richie. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xjhr-fm27-4hmx CVE-2026-26717 MODERATE OpenFUN Richie Observable Timing Discrepancy in its sync_course_run_from_request function

CVE-2026-26717 at a Glance

CVE Identifier CVE-2026-26717
GHSA Identifier GHSA-xjhr-fm27-4hmx
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product Richie
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-26717

To remediate this vulnerability, upgrade all affected Richie dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

richie fixed: 3.3.0
pip install richie>=3.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show richie

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-26717, inspect your installed packages using pip:

pip show richie

Analyze the terminal output to locate any version of Richie in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.0), your application is affected.

Note: The pip show richie command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In Richie, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-26717 Affected Richie Versions

1 component(s)
Fixed Versions:
3.3.0
Product / Package Ecosystem Affected Versions Fixed Version
richie
PyPI
< 3.3.0
3.3.0

References

Frequently Asked Questions

What is CVE-2026-26717?
CVE-2026-26717 is a security vulnerability in Richie involving OpenFUN Richie Observable Timing Discrepancy in its sync_course_run_from_request function under CWE-208: Observable Timing Discrepancy.
Which Richie versions are affected?
Affected versions include releases prior to 3.3.0 across affected packages: richie.
What version fixes CVE-2026-26717?
Upgrading to 3.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is richie affected?
Yes, richie is affected in releases prior to 3.3.0. Upgrade your dependency to 3.3.0 or later.
What is the CVSS score of CVE-2026-26717?
CVE-2026-26717 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-26717?
CVE-2026-26717 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check PyPI dependencies for CVE-2026-26717?
Run the dependency tree command: 'pip show richie'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xjhr-fm27-4hmx",
  "modified" : "2026-02-26T22:50:20Z",
  "published" : "2026-02-25T18:31:38Z",
  "aliases" : [ "CVE-2026-26717" ],
  "summary" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "richie"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26717"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openfun/richie/commit/a1b5bbda3403d7debb466c303a32852925fcba5f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Rickidevs/CVE-2026-26717"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openfun/richie"
  }, {
    "type" : "WEB",
    "url" : "https://medium.com/@ordogh/cve-2026-26717-hmac-timing-attack-in-openfun-richie-lms-f04377efe83d?postPublishedType=repub"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-26T22:50:20Z",
    "nvd_published_at" : "2026-02-25T17:25:39Z"
  }
}