Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
4797
Downloads
12.1M
Verified
4797
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
41 rules matched. Showing 24 loaded rules.
Publish rule
CVE-2026-82450: Php Image Filename Unvalidated Extensioncve-2026-82450-php-image-filename-unvalidated-extension

Image filename sanitization extracts the file extension from an input name without validating that the extension belongs to an allowed image format. This can allow attackers to preserve dangerous extensions (such as .php) during image upload or import operations.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
73quality
CVE-2026-78337: Laravel Unvalidated File Uploadcve-2026-78337-laravel-unvalidated-file-upload

An uploaded file is saved directly from a generic Request instance without input validation. This can lead to unrestricted file uploads (CWE-434) and stored cross-site scripting (CWE-79) via dangerous file types such as SVG documents.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
77quality
CVE-2026-75496: Insecure Client Mime Validationcve-2026-75496-insecure-client-mime-validation

Client-supplied MIME types from `$_FILES[...]['type']` or uploaded file metadata can be spoofed in the HTTP request. Relying on client-controlled MIME types for validation allows attackers to upload arbitrary files. Use server-side inspection such as `finfo_file()`, `mime_content_type()`, or file signature/magic bytes verification instead.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
74quality
CVE-2026-72576: Php File Upload Blacklist Validationcve-2026-72576-php-file-upload-blacklist-validation

File upload extension validation relies on a blacklist instead of an allowlist. Blacklists often fail to prevent uploading dangerous configuration files (such as .htaccess) or alternative executable extensions, leading to remote code execution.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
83quality
CVE-2026-63429: Nestjs Unauthenticated File Uploadcve-2026-63429-nestjs-unauthenticated-file-upload

The endpoint permits file uploads without visible authentication or authorization checks. Ensure that you apply `@UseGuards()`, evaluate the user session inside `fileFilter`, or pass the request context `@Req()` for manual validation to prevent unauthorized users from uploading arbitrary files.

by Provallyupdated 2026-09-02Apache-2.0
1.3K0 direct1.3K via packs
downloads
81quality
CVE-2026-61448: Trailing Dot Extension Bypasscve-2026-61448-trailing-dot-extension-bypass

Extracting a file extension using substring/slice from lastIndexOf('.') guarded only by includes('.') results in an empty extension when filenames have trailing dots, potentially bypassing extension validation.

by Provallyupdated 2026-09-02Apache-2.0
1.3K0 direct1.3K via packs
downloads
74quality
CVE-2026-55419: Fastapi Unrestricted File Uploadcve-2026-55419-fastapi-unrestricted-file-upload

The uploaded file is written directly to the filesystem using its original filename without validating the file extension or content. Validate the filename extension against an allowlist and verify the file content before saving to prevent arbitrary file upload vulnerabilities (CWE-434).

by Provallyupdated 2026-09-02Apache-2.0
1.3K0 direct1.3K via packs
downloads
84quality
CVE-2026-54567: File Validation Bypass Via Reassignmentcve-2026-54567-file-validation-bypass-via-reassignment

A validated filename is subsequently reassigned to an unvalidated value before being saved, potentially bypassing extension checks and directory traversal protections. Ensure that overriding variables are sanitized and re-validated.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
73quality
CVE-2026-48062: Ci4 Unsafe Guessextension Validationcve-2026-48062-ci4-unsafe-guessextension-validation

Validating file extensions using only `guessExtension()` is insecure if the file is eventually saved with its original client name. An attacker can upload a file with a malicious extension (e.g., .php) containing spoofed file contents (e.g., GIF headers), bypassing the validation. Ensure you also validate `getClientExtension()` to prevent dangerous file uplo

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
73quality
CVE-2026-46489: Symfony Unvalidated File Upload Base64cve-2026-46489-symfony-unvalidated-file-upload-base64

Direct base64 encoding of an uploaded file without prior MIME type or content validation. If this base64 string is rendered inline as a data URI, unrestricted SVG uploads could lead to Stored XSS. Ensure the uploaded file is validated using `$validator->validate(...)` or functions like `getimagesize()` before reading its contents.

by Provallyupdated 2026-06-23Apache-2.0
3K0 direct3K via packs
downloads
77quality
CVE-2026-45315: Fastapi Fileresponse Path Route Missing Protection Headerscve-2026-45315-fastapi-fileresponse-path-route-missing-protection-headers

FileResponse is returned from a `{...:path}`-parameterized route without a `headers=` argument forcing `Content-Disposition: attachment` and `X-Content-Type-Options: nosniff`. Starlette derives Content-Type from the on-disk file extension, so if any user-influenced file (e.g. a cached upload) has an HTML or SVG extension on disk, the browser will render it i

by Provallyupdated 2026-06-12Apache-2.0
3.5K0 direct3.5K via packs
downloads
84quality
CVE-2026-42552: Insecure File Move Uploaded Filecve-2026-42552-insecure-file-move-uploaded-file

Moving an uploaded file to an unvalidated path derived from a function parameter can lead to path traversal and arbitrary file write vulnerabilities. Adversaries might write or overwrite files on the server. Validate the target path to prevent directory traversal (`..`) or use `basename()` to secure the filename.

by Provallyupdated 2026-06-12Apache-2.0
3.4K0 direct3.4K via packs
downloads
77quality
CVE-2026-42551: Arbitrary File Write Via Upload Movecve-2026-42551-arbitrary-file-write-via-upload-move

Moving an uploaded file to an unvalidated destination path can allow attackers to write arbitrary files (e.g., web shells) to the server via directory traversal sequences ('..') or absolute paths. Validate the destination path using 'basename()', 'realpath()', or strict string checks before moving the file.

by Provallyupdated 2026-06-12Apache-2.0
3.4K0 direct3.4K via packs
downloads
77quality
CVE-2026-35047: Php Laravel Unrestricted File Upload To Public Pathcve-2026-35047-php-laravel-unrestricted-file-upload-to-public-path

An uploaded file is moved into a public_path() (web-accessible) directory inside a handler that does not perform Laravel validation ($request->validate([...]) or Validator::make(...)). When the stored filename's extension is taken from the client (e.g. getClientOriginalExtension() / getClientOriginalName()), an authenticated attacker can upload an executable

by Provallyupdated 2026-06-12Apache-2.0
3.5K0 direct3.5K via packs
downloads
86quality
CVE-2026-34415: Incomplete Php Extension Denylist Regex Php Glob Misusecve-2026-34415-incomplete-php-extension-denylist-regex-php-glob-misuse

The regex token `php*` is being used inside a denylist alternation, but in PCRE `*` is a quantifier on the preceding character, so `php*` matches 'ph', 'php', 'phpp', ... and does NOT match '.php4', '.php7', or '.phps'. This is an incomplete list of disallowed inputs (CWE-184): attackers can upload/rename files with PHP-executable extensions like .php4 that

by Provallyupdated 2026-06-12Apache-2.0
3.4K0 direct3.4K via packs
downloads
81quality
CVE-2026-33582: Go Generic Image Decode Sniffingcve-2026-33582-go-generic-image-decode-sniffing

Calling generic 'image.Decode' or 'image.DecodeConfig' dynamically dispatches image decoding based on magic bytes among all registered formats. Transitive dependencies may register decoders (e.g., TIFF) prone to excessive memory consumption or denial of service on untrusted inputs. Prefer using format-specific decoders (such as jpeg.Decode, png.Decode, gif.D

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
71quality
CVE-2026-28795: Python Unvalidated File Format Path Traversalcve-2026-28795-python-unvalidated-file-format-path-traversal

A function parameter is interpolated as a file extension into a filename f-string and then used to open or path-join a file, without first validating the parameter against an allowlist of permitted formats. Attackers can supply values such as "../../etc/cron.d/x" or dangerous extensions (".py", ".sh", ".php") to traverse outside the intended directory or wri

by Provallyupdated 2026-06-12Apache-2.0
3.5K0 direct3.5K via packs
downloads
83quality
CVE-2026-24136: Django Missing File Upload Validationcve-2026-24136-django-missing-file-upload-validation

An uploaded file is accessed without prior validation. Direct usage of `FILES` without an explicit validation function can lead to unrestricted file uploads, enabling Stored XSS or Remote Code Execution. Ensure the file's MIME type and extension are securely validated before processing its attributes or saving it locally.

by Provallyupdated 2026-06-12Apache-2.0
3.5K0 direct3.5K via packs
downloads
77quality
CVE-2026-23499: Django Unsafe Static Media Servecve-2026-23499-django-unsafe-static-media-serve

Serving uploaded media files using Django's `static()` without overriding the default view allows files to be served inline based on their inferred mimetype. This can lead to Stored XSS if users upload malicious HTML or SVG files. To mitigate this vector during local serving or debug testing, override the `view` parameter with a custom handler that enforces

by Provallyupdated 2026-06-23Apache-2.0
3K0 direct3K via packs
downloads
77quality
CVE-2026-22789: Laravel Unvalidated File Key Mismatchcve-2026-22789-laravel-unvalidated-file-key-mismatch

A request parameter ($FILE_KEY) is used for file upload extraction but was not found within the `$REQ->validate(...)` rules explicitly checked within this scope. This parameter mismatch entirely bypasses file validation restrictions, potentially allowing attackers to upload malicious scripts and achieve Remote Code Execution.

by Provallyupdated 2026-06-23Apache-2.0
3K0 direct3K via packs
downloads
81quality
CVE-2026-18983: Wordpress Wp Handle Upload Missing Mimescve-2026-18983-wordpress-wp-handle-upload-missing-mimes

wp_handle_upload() or wp_handle_sideload() was called without specifying an allowed MIME types array ('mimes' in overrides). This allows WordPress default upload MIME types to be processed, which may lead to arbitrary file upload or stored XSS when unprivileged users are permitted to upload files.

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
76quality
CVE-2026-15305: Typo3 Early Validator Registrationcve-2026-15305-typo3-early-validator-registration

A validator is being registered or created inside the `initializeFormElement()` lifecycle hook. At this stage in the TYPO3 Form lifecycle, concrete form definition properties (such as `allowedMimeTypes`) have not yet been applied. This causes the validator to use default or incomplete data, completely bypassing intended security restrictions like server-side

by Provallyupdated 2026-09-02Apache-2.0
1.2K0 direct1.2K via packs
downloads
76quality
24 of 41 loaded