# CVE-2026-90857: SourceCodester College Notes Gallery Management System arbitrary file upload

Source: https://junglewise.ai/threats/cve-2026-90857-sourcecodester-college-notes-gallery-management-system-arbitrary  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-15. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-90857 · Severity: medium · CVSS 6.3 · Published 2026-09-15

SourceCodester College Notes Gallery Management System is a web application for managing college notes and image galleries. An authenticated attacker can upload a malicious PHP file by forging the file type, allowing remote code execution on the web server and full compromise of the application.

Technologies: [SourceCodester College Notes Gallery Management System](https://junglewise.ai/threats/technologies/college-notes-gallery-management-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-90857 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-90857 being exploited in the wild.

**How severe is CVE-2026-90857?** Medium severity, with a CVSS score of 6.3, published 15 September 2026.

**Which products and versions are affected?** SourceCodester College Notes Gallery Management System 1.0.

**Is there a fix for CVE-2026-90857?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-90857 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-90857?** Check whether you run SourceCodester College Notes Gallery Management System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is an unrestricted file upload vulnerability in the profile image upload handler at dashboard/userprofile.php. The root cause is insufficient server-side validation: the application only checks the client-supplied MIME type from $_FILES['image']['type'] against an allowlist and derives the filename extension from the original upload name using pathinfo(), without inspecting actual file content or blocking dangerous extensions. An authenticated attacker can upload a file named shell.php with a forged Content-Type header (e.g., image/jpeg), causing the application to store it as executable PHP in the publicly accessible profilepics/ directory. When the uploaded file is accessed via HTTP, the PHP payload executes in the web server context. No administrative privileges are required; any authenticated user can exploit this vulnerability.

## Affected products

- SourceCodester College Notes Gallery Management System 1.0

## Timeline

- 2026-08-13: disclosed: Vulnerability disclosed on GitHub
- 2026-09-15: advisory: CVE-2026-90857 published

## References

- [https://github.com/OnlyCMJB/cve/issues/1](https://github.com/OnlyCMJB/cve/issues/1)
- [https://vuldb.com/cve/CVE-2026-90857](https://vuldb.com/cve/CVE-2026-90857)

## Related threats

- [SourceCodester College Notes Gallery Management System privilege escalation in signup](https://junglewise.ai/threats/cve-2026-90856-sourcecodester-college-notes-gallery-management-system-privilege)
- [SourceCodester College Notes Gallery Management System SQL injection in login](https://junglewise.ai/threats/cve-2026-90849-sourcecodester-college-notes-gallery-management-system-sql)
