CVE-2025-66581
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-66581 is a missing server-side authorization vulnerability in Frappe Learning Management System (LMS), classified under CWE-863 (Incorrect Authorization). The flaw allows authenticated low-privileged users (e.g., students) to perform actions reserved for instructors or administrators by directly calling backend APIs. All versions prior to 2.41.0 are affected. The vulnerability was published on December 5, 2025, and fixed in version 2.41.0. It carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Red Hat CVE).

Technical details

The root cause is CWE-863 (Incorrect Authorization): the affected API endpoints relied exclusively on client-side or UI-level permission checks rather than enforcing authorization server-side. An authenticated user with a low-privileged role (such as a student) could bypass these UI controls by directly invoking the backend APIs, effectively impersonating higher-privileged roles. No special tools or complex techniques are required — a valid user account and direct API access are sufficient. The vulnerability spans multiple features across the LMS platform (GitHub Advisory).

Impact

Exploitation allows authenticated students to perform a broad range of unauthorized operations, including enrolling themselves and other users into unpublished course batches, deleting sidebar pages, posting discussion messages in courses or batches they are not enrolled in, modifying course and batch metadata, generating course certificates without meeting completion requirements, sending batch-wide announcements to learners, and assigning badges to themselves and other users. The primary impact is on integrity (CVSS integrity impact: HIGH), with no direct confidentiality or availability impact reported. This could undermine the academic integrity and operational control of the LMS platform (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The vulnerability requires a valid authenticated account (low privilege), making it accessible to any registered student on an affected LMS instance. The EPSS score is approximately 0.031% (0.000310), indicating a low probability of exploitation in the near term. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The CVSSv4 exploit maturity is rated "UNREPORTED" (GitHub Advisory, Red Hat CVE).

Exploitation steps

  1. Obtain a low-privileged account: Register or log in as a student on a Frappe LMS instance running a version prior to 2.41.0.
  2. Identify API endpoints: Use browser developer tools or API documentation to enumerate backend API endpoints that handle privileged operations (e.g., batch enrollment, certificate generation, badge assignment, announcements).
  3. Craft direct API requests: Bypass the UI by sending HTTP requests (e.g., via curl or a REST client like Postman) directly to the identified endpoints, including valid session cookies or authentication tokens.
  4. Perform unauthorized actions: Execute privileged operations such as enrolling users into unpublished batches, generating certificates, sending announcements, or assigning badges — all without the server enforcing role-based access controls.
  5. Achieve objective: Manipulate course data, escalate privileges within the LMS context, or disrupt platform integrity for other users (GitHub Advisory).

Indicators of compromise

  • Logs: API access logs showing student-role accounts invoking instructor/admin endpoints (e.g., batch enrollment, certificate generation, badge assignment, announcement dispatch) outside of normal UI workflows.
  • Application Behavior: Unexpected enrollments in unpublished batches, certificates issued to users who have not completed course requirements, badges assigned without instructor action, or announcements sent by non-instructor accounts.
  • Network: Unusual direct API calls (e.g., HTTP POST/PUT requests to LMS admin endpoints) originating from student-level authenticated sessions, particularly without corresponding UI navigation events.

Mitigation and workarounds

The vulnerability is fully remediated in Frappe LMS version 2.41.0, which enforces server-side authorization checks on all affected endpoints. Administrators should upgrade to version 2.41.0 or later as the primary remediation step. No official configuration-based workaround has been published; until patching is possible, restricting API access at the network or application firewall level to trusted roles may reduce exposure (GitHub Advisory).

Community reactions

The vulnerability was reported by researcher Devansh and discovered by Zeropath, as credited in the official GitHub Security Advisory. A blog post by Devansh discussing AI-assisted SAST (static analysis) was noted in relation to this discovery. No significant broader media coverage or notable community debate has been identified beyond standard CVE tracking and aggregator coverage (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management