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-16154: SQL Injection in SourceCodester Timetabling Room Management
CVE-2026-16154: SQL Injection in SourceCodester Timetabling Room Management
SECURITYHIGHCVE-2026-16154

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.

Dylan H.

Security Team

July 19, 2026
2 min read

Affected Products

  • SourceCodester Class and Exam Timetabling System 1.0

Executive Summary

CVE-2026-16154 is a SQL injection vulnerability in SourceCodester Class and Exam Timetabling System 1.0, affecting the /edit_room1.php endpoint. This is a companion to CVE-2026-16152, which targets a related endpoint (/edit_rooma.php). Both vulnerabilities share the same root cause — unsanitized use of the ID GET/POST parameter in SQL queries — and both carry a CVSS score of 7.3 (High) with a public exploit already released.

CVSS Score: 7.3 (High)


Vulnerability Details

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

Affected Component

The vulnerability is present in the /edit_room1.php file within SourceCodester Class and Exam Timetabling System version 1.0. The ID parameter is not properly sanitized before being included in database queries, allowing attackers to append arbitrary SQL directives.


Relationship to CVE-2026-16152

These two CVEs represent a pattern of insecure coding across the same application. When one endpoint in an application is found vulnerable to SQL injection, similar endpoints built with the same code patterns are often equally susceptible. Organizations using this software should treat both vulnerabilities as part of a broader systemic issue rather than isolated bugs.


Impact

A remote attacker exploiting this vulnerability could:

  • Extract database contents including room records, user credentials, and scheduling data
  • Manipulate scheduling data to disrupt exam and class timetables
  • Escalate privileges if the database account has elevated permissions
  • Chain with other vulnerabilities in the same application for deeper access

Remediation

  1. Restrict access to /edit_room1.php at the network perimeter or web server level
  2. Implement parameterized queries or prepared statements throughout the application
  3. Audit all similar endpoints in the codebase — the pattern likely repeats across other edit_*.php pages
  4. Apply the principle of least privilege to the database account used by this application
  5. Monitor for active exploitation using WAF rules targeting SQL injection patterns on this application

References

  • NVD Entry — CVE-2026-16154
  • CVE-2026-16152 (related vulnerability in the same application)
  • CWE-89: Improper Neutralization of Special Elements in SQL Commands
#Vulnerability#CVE#SQL Injection#NVD#SourceCodester#Web Security

Related Articles

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.

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