Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconConnect to RELATE web interface
-
DeliveryCreate multiple test accounts
-
ExploitCollect authentication token samples
-
InstallAnalyze token patterns for PRNG weaknesses
-
C2Predict valid sign-in keys or exam tickets
-
ExecuteSubmit forged tokens to authentication/exam endpoints
-
ImpactGain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue in inducer relate before v.2024.1 allows a remote attacker to execute arbitrary code via a crafted payload to t
Server-Side Template Injection (SSTI) vulnerability in inducer relate before v.2024.1 allows a remote attacker to execut
Timing attack vulnerability in RELATE's authentication module allows remote unauthenticated attackers to infer valid sig
Remote code execution in RELATE LMS (the inducer/relate web courseware platform) stems from its Celery task queue being
Stored cross-site scripting in the RELATE web courseware lets any enrolled student inject JavaScript that executes in an
Cross Site Scripting vulnerability in inducer relate before v.2024.1 allows a remote attacker to escalate privileges via
Server-Side Template Injection (SSTI) vulnerability in inducer relate before v.2024.1, allows remote attackers to execut
EUVD-2026-28379
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB