Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1972+ Articles
150+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-16152: SQL Injection in SourceCodester Class and Exam Timetabling System
CVE-2026-16152: SQL Injection in SourceCodester Class and Exam Timetabling System
SECURITYHIGHCVE-2026-16152

CVE-2026-16152: SQL Injection in SourceCodester Class and Exam Timetabling System

A remotely exploitable SQL injection vulnerability has been disclosed in SourceCodester Class and Exam Timetabling System 1.0. The flaw in /edit_rooma.php allows attackers to manipulate the ID parameter to perform unauthorized database operations with a public exploit already available.

Dylan H.

Security Team

July 19, 2026
2 min read

Affected Products

  • SourceCodester Class and Exam Timetabling System 1.0

Executive Summary

CVE-2026-16152 is a SQL injection vulnerability affecting SourceCodester Class and Exam Timetabling System 1.0. The flaw resides in the /edit_rooma.php endpoint, where manipulation of the ID argument leads to unsanitized SQL query execution. The vulnerability is remotely exploitable and a public exploit has been made available.

CVSS Score: 7.3 (High)


Vulnerability Details

FieldValue
CVE IDCVE-2026-16152
CVSS Score7.3 (High)
CWECWE-89: SQL Injection
Attack VectorNetwork (Remote)
Privileges RequiredLow
User InteractionNone
Exploit AvailableYes (public)

Affected Component

The vulnerability exists in the /edit_rooma.php script of the SourceCodester Class and Exam Timetabling System version 1.0. The ID parameter is passed directly into a SQL query without proper sanitization or parameterized queries, enabling an attacker to inject arbitrary SQL commands.


Impact

Successful exploitation of this vulnerability could allow a remote attacker to:

  • Read sensitive data from the application's database, including user credentials, room assignments, and schedule data
  • Modify or delete records within the timetabling system
  • Bypass authentication if credential tables are accessible via the injection point
  • Execute database commands depending on the database user's privileges

Remediation

Since this vulnerability is in SourceCodester open-source software, users running this application should:

  1. Immediately restrict access to the /edit_rooma.php endpoint at the web server or firewall level
  2. Apply input validation and use prepared statements / parameterized queries for all database interactions
  3. Review the full codebase for similar patterns — SourceCodester applications commonly reuse vulnerable patterns across multiple endpoints (see also CVE-2026-16154)
  4. Monitor database logs for unusual query patterns that may indicate active exploitation
  5. Consider replacing the application with a supported, maintained alternative if no official patch is released

References

  • NVD Entry — CVE-2026-16152
  • CWE-89: Improper Neutralization of Special Elements in SQL Commands
#Vulnerability#CVE#SQL Injection#NVD#SourceCodester#Web Security

Related Articles

CVE-2026-16154: SQL Injection in SourceCodester Timetabling Room Management

A second SQL injection vulnerability in SourceCodester Class and Exam Timetabling System 1.0 has been disclosed, this time affecting the /edit_room1.php endpoint. Like its companion CVE-2026-16152, the flaw allows remote attackers to manipulate the ID parameter with a public exploit already available.

2 min read

CVE-2026-14771: SQL Injection in SourceCodester Class and Exam Timetabling System

An unauthenticated remote SQL injection vulnerability in SourceCodester's Class and Exam Timetabling System 1.0 allows attackers to manipulate the id...

3 min read

CVE-2026-13521: SQL Injection in SourceCodester Class and Exam Timetabling System

A remotely exploitable SQL injection vulnerability affects SourceCodester Class and Exam Timetabling System 1.0 via the course_year_section parameter in...

3 min read
Back to all Security Alerts