rAthena
CVE-2025-58448
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach rAthena web PartyBooking endpoint
-
DeliverySend crafted WorldName parameter
-
ExploitBreak out of DELETE SQL string
-
ExecutionInject arbitrary SQL clauses
-
ImpactRead or destroy 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 | Requires the target to be running rAthena's optional web service component (src/web), with the PartyBooking delete endpoint network-reachable; the attacker-controlled |
| Impact | The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 9.8) describes a network-reachable, low-complexity, unauthenticated SQL injection with full CIA impact, which is consistent with the source evidence: the fix in src/web/partybooking_controller.cpp adds Sql_EscapeString() to the previously unescaped |
| Exploit ScenarioDerived | An attacker who can reach the rAthena web PartyBooking API sends an HTTP request to the party-booking delete handler with a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Unauthenticated SQL injection in rAthena's optional web service PartyBooking handler, where the attacker-supplied WorldName HTTP parameter is concatenated unescaped into a DELETE statement against the party-bookings table. Deployments running the src/web component with the partybooking delete endpoint network-reachable are exposed; servers that never enable the web API are unaffected. The upstream commit 0d89ae0 fixes the issue by escaping the value with Sql_EscapeString() before interpolation, and no public exploit code or active exploitation has been identified at time of analysis, with EPSS at roughly 0.04% (11th percentile) reflecting the narrow deployment footprint.
Earlier versions of this analysis (1)
rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This SQL Injection vulnerability could allow attackers to execute arbitrary SQL commands against the database.
RemediationAI
Upgrade to a build containing commit 0d89ae071ff5e46e8dedcf45d060acec84b3abb5 (https://github.com/rathena/rathena/commit/0d89ae071ff5e46e8dedcf45d060acec84b3abb5), which replaces the raw WorldName interpolation in src/web/partybooking_controller.cpp with a Sql_EscapeString()-escaped value; because rAthena is git-distributed, confirm the deployed tree includes that commit or cherry-pick the diff onto the current branch and rebuild. If immediate rebuild is not possible, the most effective compensating control is to stop compiling or disable the web service (src/web) and remove the partybooking delete endpoint from network exposure, for example by firewalling its listening port to trusted operator IPs or placing it behind an authenticating reverse proxy; the trade-off is loss of the party-booking web features and extra proxy/ACL maintenance. Additionally, restrict the SQL account used by rAthena to the minimum privileges on the party-bookings schema so an injected query cannot escalate to unrelated tables, and verify whether the deployment actually enforces authentication before the handler, since the CVSS PR:N rating assumes unauthenticated reachability. Review advisory GHSA-x99j-36m7-4vv7 (https://github.com/rathena/rathena/security/advisories/GHSA-x99j-36m7-4vv7) for vendor guidance.
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
rAthena is an open-source C++ reimplementation of the Ragnarok Online MMORPG server, and the PartyBooking feature is exposed through an optional embedded HTTP layer under src/web that renders and mutates party-booking records stored in the server's SQL backend. The vulnerable handler partybooking_delete builds a DELETE FROM %s WHERE world_name = '%s' AND account_id = '%d' query using printf-style formatting, inserting the client-supplied WorldName string directly into the SQL text rather than binding it; this is classic CWE-89 improper neutralization of special elements used in an SQL command. The patch in commit 0d89ae0 introduces a fixed buffer of WORLD_NAME_LENGTH * 2 + 1 and calls Sql_EscapeString(nullptr, world_name_escaped, world_name.c_str()) so the escaped copy, not the raw parameter, is substituted into the query. Because the query executes with whatever privileges the map/login SQL account holds, a successful injection could read or alter arbitrary tables in that schema, matching the high confidentiality, integrity, and availability impact in the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The CPE cpe:2.3:a:rathena:rathena:*:*:*:*:*:*:*:* denotes all releases before the fixing commit, since rAthena distributes primarily as a git repository rather than versioned binaries.
Know when Rathena 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-facing web endpoint with an unescaped parameter in a SQL query gives AV:N/AC:L; SQLi enables arbitrary read, modification, and destruction (DELETE) of DB data, so C:H/I:H/A:H; PR:N per advisory though web-exposure dependent.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Versions prior to commit 0d89ae0 have a SQL Injection in the PartyBooking component via WorldName parameter. Commit 0d89ae0 fixes the issue.
Executive ViewAI
rAthena's optional web service component contains a critical SQL injection flaw in the PartyBooking handler that could let an attacker manipulate or destroy data in the game server's backend database. Only operators who have enabled the web API and exposed the partybooking delete endpoint to untrusted networks are at risk, but those that have face a 9.8-severity issue that warrants prompt triage. Leadership should care because a compromised game database can affect player account integrity, service availability, and any other data co-resident on that system.
Apply vendor patch. Where patching cannot be completed immediately, disable the optional src/web component entirely or firewall the partybooking delete endpoint to trusted administrative networks.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)NVD
rAthena is an open-source cross-platform massively multiplayer online role playing game (MMORPG) server. Rated critical
Origin validation bypass in the PayPal IPN handler of rAthena FluxCP through commit 98cd4b8fd83228c11b36fb3d097b8e0f7c10
Authenticated remote attackers can cause out-of-bounds reads and writes in rAthena's character server by sending a craft
A use-after-free flaw in rAthena's RODEX (in-game mail) handling lets remote attackers crash the map-server, causing a d
FluxCP is a web-based Control Panel for rAthena servers written in PHP. Rated medium severity (CVSS 6.1), this vulnerabi
A vulnerability was found in rAthena FluxCP. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitabl
NVD
CVE.org
EPSS
GitHub
Exploit-DB