CVE-2025-57889: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in RealMag777 InPost Gallery
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in RealMag777 InPost Gallery inpost-gallery allows PHP Local File Inclusion.This issue affects InPost Gallery: from n/a through <= 2.1.4.5.
AI Analysis
Technical Summary
The vulnerability CVE-2025-57889 affects RealMag777's InPost Gallery software, specifically versions up to 2.1.4.5. It arises from improper control over filenames used in PHP include or require statements, enabling PHP Local File Inclusion. This can allow an attacker with low privileges and no user interaction to execute arbitrary code or access sensitive files on the server. The CVSS 3.1 vector indicates network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability can lead to full compromise of the affected system's confidentiality, integrity, and availability. An attacker could potentially execute arbitrary PHP code or access sensitive files, resulting in data disclosure, modification, or denial of service. The CVSS score of 7.5 reflects these high impacts. There are no reports of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor communications for updates. Until a fix is available, consider restricting access to the affected application and applying any available workarounds recommended by the vendor. Avoid exposing the application to untrusted networks where possible.
CVE-2025-57889: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in RealMag777 InPost Gallery
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in RealMag777 InPost Gallery inpost-gallery allows PHP Local File Inclusion.This issue affects InPost Gallery: from n/a through <= 2.1.4.5.
CVSS v3.1
Score 7.5high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-57889 affects RealMag777's InPost Gallery software, specifically versions up to 2.1.4.5. It arises from improper control over filenames used in PHP include or require statements, enabling PHP Local File Inclusion. This can allow an attacker with low privileges and no user interaction to execute arbitrary code or access sensitive files on the server. The CVSS 3.1 vector indicates network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability can lead to full compromise of the affected system's confidentiality, integrity, and availability. An attacker could potentially execute arbitrary PHP code or access sensitive files, resulting in data disclosure, modification, or denial of service. The CVSS score of 7.5 reflects these high impacts. There are no reports of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor communications for updates. Until a fix is available, consider restricting access to the affected application and applying any available workarounds recommended by the vendor. Avoid exposing the application to untrusted networks where possible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-08-22T11:35:36.401Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68bb0d9ee11b59d9ac04ed58
Added to database: 09/05/2025, 16:19:42 UTC
Last enriched: 05/19/2026, 09:57:19 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 182
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.