Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection in orderBy in JPAQuery.
Priority MEDIUM 64CWE-89Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection in orderBy in JPAQuery. NOTE: this is disputed by a Querydsl community member because the product is not intended to defend against a developer who uses untrusted input directly in query construction.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00411 35th percentileScored 2026-11-07
Fix Fixed io.github.openfeign.querydsl:querydsl-jpa (Maven): 6.10.1, 5.6.1io.github.openfeign.querydsl:querydsl-apt (Maven): 6.10.1, 5.6.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | io.github.openfeign.querydsl:querydsl-jpa (Maven) | 6.0.0.M1 to before 6.10.1 | 6.10.1 | Patch available | GHSA-6q3q-6v5j-h6vg |
| — | io.github.openfeign.querydsl:querydsl-apt (Maven) | 6.0.0.M1 to before 6.10.1 | 6.10.1 | Patch available | GHSA-6q3q-6v5j-h6vg |
| — | io.github.openfeign.querydsl:querydsl-jpa (Maven) | before 5.6.1 | 5.6.1 | Patch available | GHSA-6q3q-6v5j-h6vg |
| — | io.github.openfeign.querydsl:querydsl-apt (Maven) | before 5.6.1 | 5.6.1 | Patch available | GHSA-6q3q-6v5j-h6vg |
| — | com.querydsl:querydsl-jpa (Maven) | up to 5.1.0 | — | No fix listed | GHSA-6q3q-6v5j-h6vg |
| — | com.querydsl:querydsl-apt (Maven) | up to 5.1.0 | — | No fix listed | GHSA-6q3q-6v5j-h6vg |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- io.github.openfeign.querydsl:querydsl-jpa (Maven) Vendor— Affected 6.0.0.M1 to before 6.10.1 Fixed in 6.10.1 Patch available GHSA-6q3q-6v5j-h6vg
- io.github.openfeign.querydsl:querydsl-apt (Maven) Vendor— Affected 6.0.0.M1 to before 6.10.1 Fixed in 6.10.1 Patch available GHSA-6q3q-6v5j-h6vg
- io.github.openfeign.querydsl:querydsl-jpa (Maven) Vendor— Affected before 5.6.1 Fixed in 5.6.1 Patch available GHSA-6q3q-6v5j-h6vg
- io.github.openfeign.querydsl:querydsl-apt (Maven) Vendor— Affected before 5.6.1 Fixed in 5.6.1 Patch available GHSA-6q3q-6v5j-h6vg
- com.querydsl:querydsl-jpa (Maven) Vendor— Affected up to 5.1.0 Fixed in — No fix listed GHSA-6q3q-6v5j-h6vg
- com.querydsl:querydsl-apt (Maven) Vendor— Affected up to 5.1.0 Fixed in — No fix listed GHSA-6q3q-6v5j-h6vg
CPE names CISA-ADP · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:querydsl:querydsl:*:*:*:*:*:*:*:* | — | — | — |
| cpe:2.3:a:openfeign_querydsl:openfeign_querydsl:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:querydsl:querydsl:*:*:*:*:*:*:*:* Versions — — ·—
- cpe:2.3:a:openfeign_querydsl:openfeign_querydsl:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
- Fix · GHSA-6q3q-6v5j-h6vg io.github.openfeign.querydsl:querydsl-jpa (Maven) Fixed in 6.10.1 Advisory →
- Fix · GHSA-6q3q-6v5j-h6vg io.github.openfeign.querydsl:querydsl-apt (Maven) Fixed in 6.10.1 Advisory →
- Fix · GHSA-6q3q-6v5j-h6vg io.github.openfeign.querydsl:querydsl-jpa (Maven) Fixed in 5.6.1 Advisory →
- Fix · GHSA-6q3q-6v5j-h6vg io.github.openfeign.querydsl:querydsl-apt (Maven) Fixed in 5.6.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-49203
- 2026-10-03 Alias added: GHSA-6q3q-6v5j-h6vg
References
Other 13
- https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0
- https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html
- https://github.com/querydsl/querydsl/issues/3757
- https://github.com/OpenFeign/querydsl/
- https://github.com/OpenFeign/querydsl/releases/tag/5.6.1
- https://github.com/OpenFeign/querydsl/pull/742
- https://github.com/advisories/GHSA-6q3q-6v5j-h6vg
- https://github.com/OpenFeign/querydsl/releases/tag/6.10.1
- https://github.com/OpenFeign/querydsl/pull/743
- https://github.com/spring-projects/spring-data-jpa/issues/3693
- https://github.com/OpenFeign/querydsl/security/advisories/GHSA-6q3q-6v5j-h6vg
- https://github.com/CSIRTTrizna/CVE-2024-49203
- https://github.com/OpenFeign/querydsl
Sources
- CVE-2024-49203 · CVE Program
- CVE-2024-49203 · NVD
- FIRST EPSS
- GHSA-6q3q-6v5j-h6vg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences