---
id: "CVE-2026-124571"
page: "https://infrastack.ai/live/CVE-2026-124571"
kind: "vulnerability"
aliases: ["CVE-2026-124571"]
title: "SourceCodester Simple CRUD: SQL injection via firstname in register.php"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["other", "php", "simple-crud", "sourcecodester"]
not_affected_if: ["registration-disabled"]
published_at: "2026-11-09T06:17:58+00:00"
first_seen_at: "2026-11-09T06:25:02+00:00"
updated_at: "2026-11-09T06:26:54+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124571", "first_seen_at": "2026-11-09T06:25:02+00:00"}]
exploit_sources: []
---

# SourceCodester Simple CRUD: SQL injection via firstname in register.php

Link for people: https://infrastack.ai/live/CVE-2026-124571 (this .md is for agents)

A flaw in the registration page app/register.php of SourceCodester Simple CRUD lets an attacker inject SQL through the firstname field. The exploit has been published, so an attacker can read or change database contents remotely.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Look for `app/register.php` in the deployed Simple CRUD project and check whether the `firstname` value is passed into a SQL query without parameter binding.

## Timeline

- 2026-11-09T06:25:02+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124571

## From the sources

A flaw has been found in SourceCodester Simple CRUD using PHP and FPDF 1.0. Affected by this vulnerability is an unknown functionality of the file app/register.php. Executing a manipulation of the argument firstname can lead to sql injection. The attack can be executed remotely. The exploit has been published and may be used.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
