Skip to main content

RELATE courseware CVE-2026-41505

| EUVDEUVD-2026-28379 HIGH
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)
2026-05-07 GitHub_M
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Connect to RELATE web interface
  2. Delivery
    Create multiple test accounts
  3. Exploit
    Collect authentication token samples
  4. Install
    Analyze token patterns for PRNG weaknesses
  5. C2
    Predict valid sign-in keys or exam tickets
  6. Execute
    Submit forged tokens to authentication/exam endpoints
  7. Impact
    Gain unauthorized access with scope change to privileged functions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic PRNG selection
Exploitation Conditions

Attack requires network access to RELATE instance's authentication and exam endpoints. High attack complexity (AC:H) indicates successful exploitation depends on ability to collect sufficient token samples for statistical analysis-likely requiring multiple authentication attempts or exam session observations over time to identify PRNG patterns. No user interaction (UI:N) or authentication (PR:N) required for initial reconnaissance, but attacker must understand token generation algorithm weaknesses and possess cryptanalysis capabilities to predict valid tokens. Exploitation most feasible when: (1) RELATE instance allows unrestricted account creation for token sampling, (2) exam scheduling is predictable enabling targeted timing attacks, or (3) attacker has prior knowledge of PRNG implementation details. The vulnerability affects default configurations-no special features or non-standard settings required for exposure.

Impact

Real-world risk is moderate-high despite the 8.7 CVSS score. The AV:N (network vector) enables remote exploitation, but AC:H (high complexity) suggests successful attacks require significant effort-likely statistical analysis of token patterns across multiple observations or precise timing attacks. PR:N (no privileges required) and UI:N (no user interaction) lower the barrier once attack methodology is developed. The S:C (scope change) indicates tokens could grant access beyond their intended privilege boundary-a user-level token might enable administrative actions or cross-user data access. However, no EPSS score, KEV listing, or public POC suggests this remains theoretical. The educational technology context (online exams) makes integrity impact (I:H) particularly concerning-attackers could impersonate students, access exam content early, or submit answers on behalf of others. Organizations still running pre-2f68e16 commits face genuine risk but should prioritize if RELATE hosts high-stakes assessments. Exploitation requires attacker to analyze token generation patterns over time, making this more viable for persistent adversaries than opportunistic attacks.

Exploit ScenarioDerived

An attacker observes authentication token patterns by creating multiple test accounts and analyzing the sign-in keys generated by make_sign_in_key(). Through statistical analysis of token structure and timing, the attacker identifies the weak PRNG pattern and develops a token prediction model. During a high-stakes online exam, the attacker generates valid exam ticket codes using gen_ticket_code() predictability, gaining unauthorized access to exam content before legitimate start times or impersonating enrolled students to view questions and submit fraudulent answers. Scope change enables lateral movement to administrative functions if session tokens share the same vulnerable generation mechanism.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Predictable token generation in RELATE courseware allows remote attackers to forge authentication and exam access tokens. The vulnerability affects two critical security functions: make_sign_in_key() in auth.py (user authentication) and gen_ticket_code() in exam.py (exam access control). Weak pseudorandom number generation (CWE-338) enables attackers with high complexity to bypass authentication mechanisms and gain unauthorized access to exams with potential for integrity and availability compromise across security boundaries (CVSS scope change). Patched in commit 2f68e16. EPSS data not available; no public exploit identified at time of analysis.

RemediationAI

Update RELATE to commit 2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb or later, which replaces weak PRNG implementations with cryptographically secure random generation. Patch available at https://github.com/inducer/relate/commit/2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb. For environments unable to immediately patch, implement compensating controls: (1) Rotate all existing authentication tokens and exam tickets to invalidate potentially compromised credentials-disrupts active sessions but prevents token reuse. (2) Enable aggressive rate limiting on authentication endpoints (10 attempts per IP per hour) to increase computational cost of token prediction attacks-may impact legitimate users in shared network environments. (3) Implement anomalous authentication pattern detection (multiple failed token validations, rapid token enumeration attempts) with temporary IP blocking-requires log analysis infrastructure. (4) Restrict exam access windows to shortest practical duration and invalidate tickets immediately upon exam completion-reduces window for ticket prediction but may affect students with technical difficulties. None of these workarounds address root cause; upgrade remains essential for production environments hosting sensitive assessments.

Affected VersionsENISA

relate < 2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RELATE is a web-based courseware platform (cpe:2.3:a:inducer:relate) used for course management and online examinations. The vulnerability stems from CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator), where token generation functions rely on insufficiently random or predictable entropy sources. Authentication tokens generated by make_sign_in_key() control user session establishment, while exam ticket codes from gen_ticket_code() grant access to timed exam sessions. Predictable PRNG output allows attackers to enumerate or predict valid tokens through statistical analysis or brute-force attempts with reduced computational effort compared to cryptographically secure random generation. The commit 2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb replaced weak PRNG implementations, evidenced by significant code removal in auth.py parameter handling and exam.py token generation logic.

Know when Relate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
May 07, 2026 - 16:02 EUVD
CVE Published
May 07, 2026 - 13:35 nvd
HIGH 8.7

DescriptionCVE.org

RELATE is a web-based courseware package. Prior to commit 2f68e16, RELATE is vulnerable to predictable token generation in auth.py's make_sign_in_key() function and exam.py's gen_ticket_code() function. This issue has been patched via commit 2f68e16.

Executive ViewAI

Why It Matters

RELATE courseware contains a critical authentication bypass vulnerability (CVE-2026-41505, CVSS 8.7) in its token generation mechanisms that allows attackers to forge user authentication and exam access tokens, potentially enabling unauthorized exam access and data manipulation across the platform. Organizations deploying RELATE for course management and assessment face immediate risk of compromised academic integrity and unauthorized system access until mitigation is implemented.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to RELATE authentication and exam modules to authorized institutional networks only; (2) Implement additional out-of-band verification for high-stakes exam access (e.g., proctoring, manual authentication); (3) Monitor authentication and exam access logs for anomalous token patterns or impossible login sequences; (4) Consider disabling remote exam functionality until patch is available; (5) Engage with RELATE developers to obtain commit 2f68e16 or equivalent fix for immediate deployment as a custom patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy