Loading...
Skip to main content

CVE-2025-58048 — Vulnerability in paymenter/paymenter — CVE Details

CRITICAL

Paymenter vulnerable to Remote Code Execution via public file uploads

Published June 22, 2026Updated September 10, 2026Source: osv

Summary

### Impact The ticket attachments functionality in Paymenter allows a malicious authenticated user to upload arbitrary files. With the ability to execute arbitrary code, this vulnerability can be exploited in numerous ways, including but not limited to: - Extracting sensitive data from the database (e.g. customer information). - Reading credentials from .env or other configuration files. - Running arbitrary system commands under the web server user context. This issue is Critical as it allows a low-privilege authenticated user to fully compromise the application and underlying server. ### Patches This vulnerability was patched by https://github.com/Paymenter/Paymenter/commit/87c3db42282ada1e3cda54b9a01f846926c0669b and was released under the [v1.2.11](https://github.com/Paymenter/Paymenter/releases/tag/v1.2.11) tag without any other code modifications compared to v1.2.10. ### Work arounds If upgrading is not immediately possible, administrators can mitigate this vulnerability with one or more of the following measures: - Updating nginx config to download attachments instead of executing them: ``` location ^~ /storage/ { types { } default_type application/octet-stream; add_header X-Content-Type-Options nosniff; try_files $uri =404; } ``` - Disallow access to /storage/ fully using a WAF such as Cloudflare These workarounds significantly reduce risk, but the only guaranteed resolution is upgrading to v1.2.11 or later.

Advisory Timeline

  • First published June 22, 2026 (112 days ago).
  • Last revised September 10, 2026 — 79 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update paymenter/paymenter to 1.2.11 or later
composer require "paymenter/paymenter:^1.2.11"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
paymenter/paymenter
packagist
0.1, 0.1.1, 0.1.2, 0.1.3 (+28 more)1.2.11

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-434
    Unrestricted File UploadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-58048?
Paymenter vulnerable to Remote Code Execution via public file uploads This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2025-58048?
CVE-2025-58048 affects paymenter/paymenter. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-58048 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-5pm9-r2m8-rcmj

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies