Researchers Timely Identify Potential Security Flaw in Proposed XRP Ledger Upgrade
Ripple (XRP)
Researchers Timely Identify Potential Security Flaw in Proposed XRP Ledger Upgrade

A security vulnerability in a proposed XRP Ledger (XRPL) upgrade could have enabled unauthorised transactions, but researchers identified the issue before it reached the mainnet. The XRPL Foundation announced on 26 February that the vulnerability resided in the proposed ‘Batch’ amendment, a feature designed to allow users to bundle multiple actions into a single atomic transaction.
Security researcher Pranamya Keshkamat, alongside the autonomous static analysis tool from Cantina AI, Apex, reported the issue to the foundation on 19 February. Had the amendment been activated with the bug present, an attacker could have executed internal transactions as if authorised by another account, without requiring access to that user’s private keys.
This would have allowed for unauthorised fund transfers and modifications to ledger settings under a victim's account, even without the victim signing the transaction. This disclosure comes at a critical juncture for the XRPL, which is focusing on applications such as tokenisation and other compliance-sensitive activities, where perceived safety and reliability are paramount for institutional adoption.
The proposed Batch amendment would alter authorisation on the XRP Ledger by enabling multiple ‘internal’ transactions to be bundled into a single ‘external’ Batch transaction. This ensures that all steps either succeed or fail together. This atomic structure can reduce execution risk for developers performing multi-step operations while simultaneously creating a new authorisation boundary.
In the Batch design structure, internal transactions are intentionally unsigned. Authority is instead delegated to a list of batch signers attached to the external transaction, making the signer validation code a critical control point. If these checks fail, the ledger could treat unauthorised actions as valid.
The disclosure stated that the bug stemmed from a loop error in the function that validates batch signers. When the code encountered a signer whose account did not yet exist on the ledger and whose signing key matched that same account, it returned an immediate success and stopped checking the remainder of the signer list. This situation was more dangerous in a batch system than it appears. A batch can include steps that create accounts within the same atomic sequence, meaning the presence of an account at the time of validation is part of the authorisation boundary.
An attacker could have inserted a valid signer entry for a non-existent account under their control, triggering the early-success condition and bypassing the validation of a forged signer entry claiming to authorise a victim's account. Had Batch activated before the bug was discovered, the consequences could have been severe. The Foundation noted that an attacker could have executed internal payments that drained victims' accounts down to the reserve. The same bug could also have enabled unauthorised account-level operations, including AccountSet, TrustSet, and potentially even AccountDelete.
The disclosure stated that the bug stemmed from a loop error in the function that validates batch signers.
Impact on XRPL’s security image
The vulnerability could have damaged the security image of the XRPL at a sensitive time for the network, which is aggressively targeting the tokenisation of real-world assets (RWA) and institutional DeFi. Data from DeFiLlama shows that the XRPL has approximately $50 million in total DeFi value on the platform, with nearly $2 billion in RWA assets. In crypto markets, authorisation errors often shape perception long after the underlying technical issue is resolved. For a ledger positioning itself as infrastructure for regulated finance, such an incident would have had broader implications.
This is particularly significant given that the XRPL has recently introduced a new set of institutionally-focused features, including Authorised Domains and DEXs. These features are designed to create walled trading venues where only approved participants can place and accept orders. This model targets institutions seeking blockchain-based settlement without open access for all counterparties. A security issue would undermine that message; a network cannot easily be branded as compliance-oriented in on-chain environments when a proposed transaction upgrade carries the risk of unauthorised actions.
The XRPL's response was swift, occurring via governance and software channels. The Unique Node List (UNL) of trusted validators was notified and urged to vote ‘No’ on the Batch amendment. On 23 February, XRPL published rippled 3.1.1, an emergency release that marks both Batch and fixBatchInnerSigs as unsupported. This prevented the amendments from receiving validator votes or being activated on the network.
The release was intended as immediate containment, not a complete solution. The disclosure explicitly stated that the 3.1.1 release did not include the underlying logic fix. The XRPL has also scheduled a devnet reset for 3 March 2026, coinciding with the 3.1.1 amendment. This reset applies solely to the Devnet, not the mainnet, but demonstrates the extent to which network operators have gone to prevent the issue from affecting active amendment paths. A corrected replacement amendment, BatchV1_1, has already been implemented and is subject to review, with no release date set.
According to the disclosure, the full fix removes the early exit, adds additional authorisation safeguards, and narrows the scope of the signature check. The report also outlines a broader security roadmap, including more standardised AI-assisted audits, expanded static analysis checks for dangerous loop exits, and a review of similar patterns elsewhere in the codebase.
For the XRPL, the outcome of February will be considered a governance success. The bug was discovered before it could be activated. Validators coordinated, an emergency release blocked the amendment path, and no funds were lost. However, the story does not end here.
BatchV1_1 will now be assessed on two levels. First, on a technical level, whether it delivers the benefits of atomic transaction bundling without re-opening the authorisation risk. Second, on a procedural level, whether the XRPL's governance and engineering systems can scale with an expanding feature set aimed at institutional adoption. That is the real backdrop of this near-miss. The XRPL is attempting to grow into a broader financial platform that can host walled trading venues, permission-based environments, and more advanced transaction logic, while also trying to attract builders with ecosystem capital and product breadth. The more ambitious that roadmap becomes, the more important seemingly ‘boring’ matters such as signature validation and loop behaviour become.
In this case, the brakes functioned, but the next challenge is to prove that the system can accelerate again without losing that safety margin.
- ripple
- xrp

Written by
Bram Hoekstra
Security Editor · Eindhoven (NL)
Expertise
Bram tests wallets, hardware devices, and self-custody setups. He writes about phishing, scams, and how to securely manage your keys.
Related articles
- XRP Holders Reach Record 7.7 Million: Will Price Stay Above $1.50?
- XRP Scarcity on Exchanges Rises: Potential Impact on Price and Liquidity
- Despite Record Activity on XRP Ledger, Token Price Lags: An Analysis of the Discrepancy
- Negative XRP Funding Rate: Historical Indicator For Price Increase?
- Analyst Predicts Spectacular 680% XRP Surge: Potential for $10 Price and New Altcoin Rally
- XRP's Transformation: Key Implications For The Future Of Altcoin ETFs In Europe
Stay in the loop
Follow Block #9.
By 7 a.m. you already know
Every Monday, Wednesday, Friday and Sunday morning at 07:00, the overview in your inbox.
Practice without real money or test your knowledge?
Read more





