CVE-2026-71241
Received Received - Intake

Unauthenticated Data Exposure in Book Management System Flask API

Vulnerability report for CVE-2026-71241, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Description

Book-Management-System's Flask API endpoints /student, /record, /books, /find_stu_book, and /find_not_return_book are missing the @login_required decorator that protects sibling routes (/search_student, /storage) in the same file. This allows any unauthenticated remote user to retrieve student PII (name, gender, card validity, debt status) and full book-borrowing history by supplying a card_id. Because card_id values are sequential integers, the entire student database can be enumerated without authentication.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
lyric777 book_management_system 2.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Book-Management-System has Flask API endpoints (/student, /record, /books, /find_stu_book, /find_not_return_book) missing authentication protection. These endpoints allow unauthenticated users to retrieve sensitive student data like PII and borrowing history by providing a sequential card_id.

Detection Guidance

Check if unauthenticated requests to endpoints like /student, /record, /books, /find_stu_book, or /find_not_return_book return sensitive data such as student PII or borrowing history. Use tools like curl to test these endpoints with sequential card_id values (e.g., curl http://target/student?card_id=1).

Inspect the Flask application code for missing @login_required decorators on these endpoints while confirming sibling routes like /search_student or /storage have the decorator.

Impact Analysis

An attacker could enumerate all student records by cycling through card_id values, exposing personal data and borrowing histories. This enables identity theft, privacy violations, or targeted phishing attacks against students.

Compliance Impact

This violates GDPR's data minimization and security principles by exposing PII without authorization. It also breaches HIPAA if student health-related data is involved, as unauthorized access to personal records is prohibited.

Mitigation Strategies

Add the @login_required decorator to all vulnerable endpoints (/student, /record, /books, /find_stu_book, /find_not_return_book) to enforce authentication. Ensure all sensitive routes require valid user sessions.

Restrict access to the API endpoints by implementing rate limiting or IP whitelisting to prevent enumeration of card_id values.

Update the application to remove or secure the test credentials (username: 201801, password: 123456) and replace them with strong authentication mechanisms.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-71241. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart