Northflank Breach Exposes Cloud Secret Encryption Keys
A remote code execution flaw in a Northflank API component let an attacker read live encryption keys and pull decrypted customer secrets straight out of memory — proving that encryption at rest means nothing once a process is compromised.

On October 30, someone found an API endpoint at Northflank that asked for no password, no token, no authentication of any kind. Inside that component sat live encryption keys and the queries running against customer databases. According to Northflank's post-mortem, the flaw allowed remote code execution, and the intruder used the platform's own decryption routines to pull plaintext customer secrets out of memory, filtering for specific credentials as they went.
The incident is worth examining closely because it is not an exotic attack. It is the ordinary, predictable failure mode of cloud secret encryption key exposure: encryption that looks solid on a data-flow diagram but collapses the moment an attacker gets code execution inside the process holding the keys.
What Happened at Northflank
Northflank, a platform for deploying and managing cloud applications, disclosed that an unauthenticated API vulnerability enabled remote code execution inside one of its components on October 30. According to Northflank's post-mortem, this gave an attacker direct read access to live encryption keys and the database queries passing through that component in real time.
The attacker did not need to break the encryption itself. Northflank's post-mortem states that the intruder instead invoked the platform's existing decryption functions — the same code paths Northflank's own services use to serve customer secrets — and exfiltrated decrypted credentials that matched particular filter criteria. That detail matters: this was not a brute-force attack on ciphertext, it was abuse of legitimate decryption machinery from an unauthorized position inside the system.
Why Encryption at Rest Didn't Stop This
Encryption at rest protects data sitting on disk, but it is only as strong as the process that holds the decryption key while the application is running. Once an attacker executes arbitrary code inside that process, encryption at rest becomes irrelevant, because the attacker can simply call the same decryption logic the legitimate software already trusts.
This is the structural weakness that makes remote code execution bugs so valuable to attackers targeting cloud infrastructure providers. A secrets vault, a key management service, or a credentials store can be encrypted correctly and audited thoroughly, yet still be defeated instantly if the compute layer around it is compromised. The key never has to be "stolen" in any dramatic sense — it is simply read, mid-use, from memory.
The Attack Surface: Remote Code Execution and Memory Access
Unauthenticated API endpoints with code execution flaws are a high-value target precisely because they skip every access control layered on top of the data itself. An attacker who reaches this level does not need stolen passwords or phished sessions; they inherit whatever trust the compromised process already holds, including decryption keys resident in memory.
This pattern recurs across cloud infrastructure incidents generally: the vulnerability is rarely in the cryptography, almost always in the application layer surrounding it. Northflank's post-mortem does not specify the exact nature of the API flaw beyond confirming it permitted remote code execution, but the consequence it describes — reading keys and queries live, then calling internal decryption routines — is the textbook outcome of a memory-resident secret being exposed to code the operator never intended to run.
Who Is Affected and What Comes Next
Customers whose database, cache, or object storage addon credentials were stored on the affected Northflank component are directly affected, since those are the credential types the post-mortem says were exfiltrated by filter criteria. Northflank engaged forensic investigators from FTI Consulting LLP and rolled out platform-wide self-service credential rotation, according to its own account of the incident.
For affected customers, the practical exposure window is not limited to the moment of discovery. Any credential that existed in the vulnerable component between the flaw's introduction and its patching should be treated as compromised, regardless of whether Northflank's logs show it was specifically targeted. Database passwords, cache tokens, and storage keys issued during that period carry risk until rotated, and downstream systems that trusted those credentials — internal services, third-party integrations, CI/CD pipelines — inherit that risk too.
What Enterprise Teams Should Do Now
Security and DevSecOps teams using any third-party cloud platform should treat this incident as a prompt to question where their decryption keys actually live at runtime, not just how data is encrypted on disk. Rotating every credential touched by a platform add-on, auditing which services can call decryption functions, and limiting key residency in memory are concrete, immediate steps.
Beyond rotation, the architectural lesson is about minimizing the blast radius of a single compromised process. Secrets should be scoped narrowly, decryption should happen as close to point of use as possible, and no single API component should be able to read keys for unrelated customer data. Some communication tools illustrate a different design philosophy: EchoLink, for instance, structures calls and messages so that the service itself never holds plaintext or persistent keys capable of decrypting user content, which removes the server as a target altogether rather than relying on it being perfectly defended. Enterprises evaluating cloud vendors should ask directly whether decryption keys ever transit through a component an unauthenticated attacker could reach, and demand specifics rather than reassurance.
Key takeaways
- Northflank's post-mortem confirms an unauthenticated API flaw allowed remote code execution, giving an attacker access to live encryption keys and database queries on October 30.
- The attacker exfiltrated decrypted customer secrets by calling Northflank's own decryption routines, not by breaking the encryption algorithm itself.
- Encryption at rest cannot protect data once an attacker has code execution inside the process holding the decryption key in memory.
- Affected customers should rotate all database, cache, and object storage credentials tied to the compromised component, even if no direct targeting was confirmed.
FAQ
What caused the Northflank breach?
An unauthenticated API vulnerability allowed an attacker to achieve remote code execution inside one of Northflank's components on October 30, according to the company's post-mortem. From that position, the attacker read live encryption keys and database queries and used internal decryption routines to extract customer secrets.
Is my data still at risk if Northflank already patched the bug?
Patching the vulnerability stops new exploitation, but any credential present in the affected component during the exposure window should still be considered compromised. Northflank rolled out self-service credential rotation for database, cache, and object storage addons, and customers should use it rather than assume the patch alone resolves exposure.
How is this different from a typical data breach?
Most breaches involve stolen credentials or exposed databases where data sits encrypted and unreadable without a key. This incident involved an attacker gaining the ability to execute code inside a system that already held the decryption keys, letting them read secrets in plaintext as if they were an authorized internal process.
What should companies using similar cloud platforms do?
Rotate every credential tied to the affected service, audit which internal components have the ability to call decryption functions, and ask vendors directly how keys are isolated from code-execution risk rather than relying on encryption-at-rest claims alone.
Sources and further reading
- Northflank, incident post-mortem disclosure describing the October 30 API vulnerability, remote code execution, and credential exfiltration
- Northflank, statement on engaging FTI Consulting LLP for forensic investigation and rolling out platform-wide credential rotation
Experience EchoLink Communication System
Anonymous, end-to-end encrypted video calls and instant messaging. No registration, no traces.