Skip to main content

Yu Picture CVE-2026-7060

| EUVDEUVD-2026-25730 MEDIUM
SQL Injection (CWE-89)
2026-04-26 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access application API
  2. Delivery
    Craft malicious sortField parameter
  3. Exploit
    Inject SQL into PageRequest query
  4. Execution
    MyBatis-Plus executes unsanitized query
  5. Impact
    Extract/modify/delete database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated exploitation against default configurations of Yu Picture deployments running commit a053632c41340152bf75b66b3c543d129123d8ec or earlier. Attack requires only network access to the application's API endpoints that expose PageRequest functionality with sortField parameter handling. No user interaction, authentication, or non-default configuration needed (CVSS AV:N/AC:L/PR:N/UI:N confirms). Limiting factor: Exploitation impact constrained to database operations within the application's existing database connection privileges - attacker cannot directly escalate to OS-level access unless database user has elevated permissions (e.g., xp_cmdshell on MSSQL). The S:U (unchanged scope) in CVSS vector confirms exploitation remains within the vulnerable component's security boundary.

Impact

Real-world risk is HIGH despite moderate CVSS 7.3 score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms remote unauthenticated exploitation with low complexity - no special conditions required. Publicly available exploit code (GitHub issue #4) significantly lowers the attacker skill threshold. Exploitation status shows E:P (Proof-of-concept exists) with RL:O (Official fix available via PR #3 but not merged/released). The unpatched vendor response creates deployment uncertainty - organizations cannot simply upgrade to a safe version. The S:U (unchanged scope) limits impact to the vulnerable application's database, preventing lateral movement, but C:L/I:L/A:L indicates attackers can read sensitive data, modify records, or disrupt service. Critical gap: The product uses no versioning scheme, making it impossible for defenders to verify which deployed commit they're running or track patch status through conventional channels. This administrative burden elevates operational risk beyond the technical vulnerability severity.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted HTTP request to the Yu Picture API endpoint accepting PageRequest parameters, injecting SQL syntax into the sortField parameter (e.g., sortField='name; DROP TABLE pictures--'). The vulnerable PictureServiceImpl.java code passes this unsanitized input to MyBatis-Plus query construction, where it executes as part of the SQL ORDER BY clause. The attacker achieves arbitrary SQL execution within the application's database context, extracting user credentials, modifying image metadata, or deleting picture records. Public exploit code documented in GitHub issue #4 provides ready-made attack payloads, enabling even low-skill attackers to exploit vulnerable instances.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 26, 2026

SQL injection in Yu Picture's PageRequest handler allows remote unauthenticated attackers to manipulate database queries via the sortField parameter in PictureServiceImpl.java. The vulnerability exists in MyBatis-Plus integration code at commit a053632c41340152bf75b66b3c543d129123d8ec. Publicly available exploit code exists (GitHub issue #4) with EPSS not yet calculated. Vendor patch available via pull request #3 but remains unmerged, leaving deployed instances vulnerable. CVSS 7.3 reflects network-accessible, low-complexity exploitation with no authentication required, enabling partial confidentiality, integrity, and availability compromise.

RemediationAI

Primary fix: Apply the patch from GitHub pull request https://github.com/liyupi/yu-picture/pull/3 by manually merging the changes into your deployment, as the vendor has not yet integrated the fix into the main branch. Review the PR diff to understand the input validation added to sortField parameter handling. Workaround if immediate patching is infeasible: Implement application-layer input validation by restricting sortField values to an explicit allowlist of permitted column names (e.g., ['created_time', 'update_time', 'name']) before passing to MyBatis-Plus query builders. Deploy a web application firewall (WAF) rule to block requests containing SQL metacharacters in sortField parameters, though this may cause false positives and is not a substitute for code-level fixes. Side effect consideration: Allowlist validation will break any legitimate custom sort features relying on dynamic column names. Organizations must audit their API usage before deploying restrictive input filters. Long-term: Advocate for the vendor to adopt semantic versioning and merge outstanding security patches to enable standard upgrade workflows.

Affected VersionsENISA

yu-picture a053632c41340152bf75b66b3c543d129123d8ec

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects Yu Picture (cpe:2.3:a:liyupi:yu-picture), a Java-based image management application. The root cause (CWE-89: SQL Injection) originates in the sortField parameter handling within the PageRequest function of PictureServiceImpl.java. MyBatis-Plus, a popular Java ORM framework extending MyBatis, is used for database operations. The vulnerability occurs when user-controlled sortField input is passed unsanitized into SQL query construction. MyBatis-Plus's dynamic query building features, while powerful, require explicit input validation to prevent injection when accepting external sort parameters. The affected code constructs database queries that incorporate the sortField value without proper parameterization or allowlist validation, enabling attackers to inject arbitrary SQL fragments.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

6
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 26, 2026 - 22:22 NVD
HIGH MEDIUM
CVSS changed
Apr 26, 2026 - 22:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
Patch released
Apr 26, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 26, 2026 - 20:15 nvd
MEDIUM 5.5

DescriptionCVE.org

A vulnerability was determined in liyupi yu-picture up to a053632c41340152bf75b66b3c543d129123d8ec. This impacts the function PageRequest of the file yu-picture-backend/src/main/java/com/yupi/yupicturebackend/service/impl/PictureServiceImpl.java of the component MyBatis-Plus. Executing a manipulation of the argument sortField can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. Applying a patch is advised to resolve this issue. The project was informed of the problem early through a pull request but has not reacted yet.

Executive ViewAI

Why It Matters

CVE-2026-7060 is a critical SQL injection vulnerability in Yu Picture's PageRequest handler that allows unauthenticated attackers to manipulate database queries and compromise confidentiality, integrity, and availability of picture data. Organizations using Yu Picture must apply the available patch immediately, as publicly available exploit code exists and the vulnerability requires no authentication or user interaction to exploit.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level access restrictions to limit exposure to PageRequest endpoints, deploy WAF rules to sanitize sortField parameter inputs, and enable comprehensive audit logging of database queries for forensic detection.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy