CitrixBleed was a 2023 flaw that leaked live session tokens from remote access gateways.
Attackers who copied a token could skip the password and the extra sign-in check. This guide is for anyone who wants the lesson in plain words: you do not need to run these devices to follow it. If you look after remote access, it shows why patching alone did not end the danger.
In short
- CitrixBleed is the nickname for CVE-2023-4966, a flaw in NetScaler ADC and NetScaler Gateway appliances [1].
- A crafted web request made the device hand back part of its memory, which could hold a valid session token [2].
- A session token is issued after sign-in, so whoever holds it skips the password and MFA [2].
- The lesson: after fixing a flaw like this, also end the sessions that may already have been stolen.
What you will learn
- Explain what a session token is and why it is as valuable as a password.
- Describe, without technical detail, how CitrixBleed leaked tokens.
- Understand why patching the device did not throw out attackers who already had tokens.
- Know the follow-up steps that close the gap: end sessions, change credentials, check sign-ins.
- Wristband (session token)
- a pass the system gives you after you sign in, so you do not sign in on every click.
- Front gate (remote access gateway)
- the device staff connect through to reach work systems from outside.
- Software fix (patch)
- an update from the maker that closes a known flaw.
What is CitrixBleed?
Think of a festival wristband. You show your ticket and photo ID once at the gate, then the wristband gets you back in all weekend. Nobody checks your ID again.
A session token is that wristband. NetScaler ADC and NetScaler Gateway are devices many organisations use as the front gate for remote staff. CitrixBleed was a flaw in them. A specially made web request caused the device to send back a chunk of its memory. That memory could contain the session tokens of people already signed in [2].
The flaw was disclosed on 10 October 2023. Mandiant, a security firm, saw it being exploited from late August 2023, before any fix existed [2]. That makes it a zero-day for those weeks.
Where the comparison stops working: a stolen wristband is easy to spot on the wrong wrist. A copied token looks exactly like the real one to the device.
Why does it matter?
CitrixBleed shows that the extra sign-in check protects the moment you sign in, not everything after it. Once a session exists, the token is what the system trusts.
If you work remotely
What could happen: someone uses a copy of your session to reach work systems as you, with no alert on your phone.
Check this: report odd things quickly, such as being signed out for no reason or seeing sign-ins you did not make.
If you run a small business
What could happen: your remote access device is patched, but an attacker who took tokens earlier stays in.
Check this: ask your IT provider whether they ended old sessions after the last urgent fix.
If you are new to security work
What could happen: a flaw is closed but nobody hunts for what happened before the fix.
Check this: treat urgent fixes on internet-facing devices as a possible incident, not just a maintenance task.
What does it look like?
Here is a made-up record of the kind of sign-in data defenders checked. The warning sign is one session used from two very different places.
Example only. All values are made up.
Session ID: EXAMPLE-0000-FAKE (1) User: example.user (2) Signed in: 09:02 from 192.0.2.10 (office city) (3) Also used: 09:40 from 198.51.100.7 (other country) (4) MFA at 09:40: none needed, session already valid (5)
- In a real file, this line would contain a long random session value. That value is the "wristband".
- The person the session belongs to.
- The genuine sign-in, with the password and MFA check.
- The same session used from a different address. Mandiant advised looking for sessions whose addresses do not match [2].
- No second check happens, because the system already trusts the session.
Why this is risky: nothing here fails. The system sees a valid session and lets it through.
The safer way: watch for one session used from two places, and end all sessions after an urgent fix to a gateway.
How does it work?
This is the defender's view of what happened. It leaves out attack details on purpose.
- A user signs in properly. They pass the password and MFA, and the gateway issues a session token [2].
- The flaw leaks memory. A crafted request makes the gateway return memory that can include that token [2].
- The attacker replays the token. With it, they open a signed-in session without the username, password or MFA device [2][1].
- The fix arrives, but the token still works. Patching closes the leak. It does not cancel tokens that were already copied, so those sessions must be ended separately.

The US cyber agency CISA said MFA on the device does not work as intended here. The attacker presents a session that is already signed in [1]. CISA also reported that LockBit 3.0 ransomware affiliates used the flaw, and that Boeing said it was used to get into Boeing Distribution Inc. [1].
Comcast's Xfinity said someone reached some of its internal systems between 16 and 19 October 2023, through this flaw. Its notice says Citrix issued extra mitigation guidance on 23 October, after which Xfinity patched and mitigated its systems [3].
Our breach analysis covers the vendor's follow-up advice and the full story: CitrixBleed 2023: How Stolen Session Tokens Bypassed MFA. It draws on CISA's and Mandiant's reports [1][2].
A worked example
This story is made up to show the idea.
Hana Zamora looks after IT for a regional engineering firm of 200 people. Staff work from home through a remote access gateway.
An urgent alert lands: the gateway maker has fixed a memory leak flaw that is already being used. Hana applies the update that evening and ticks it off.
The next morning she reads more of the advisory. It explains that tokens taken before the fix still work. Her update closed the door, but anyone already holding a wristband can still walk in.
Hana ends every active session on the gateway, so all staff have to sign in again with MFA. She also resets passwords for the administrator accounts and service accounts that connect through it.
Then she checks the sign-in records. One engineer's session was used from two countries within an hour, two days before the update. She does not try to fix it alone. She raises it as an incident, and the firm's security partner finds and removes a remote access tool on one server.
The firm was lucky the attacker had not gone further. Hana's change note for next time now reads: patch, end sessions, change credentials, check for reuse.
Myths and mistakes
| What people think | What is true |
|---|---|
| We have MFA, so a leaked session cannot hurt us. | MFA happens at sign-in. A stolen session token was issued after MFA, so it skips it[1]. |
| Once we patched, we were safe. | A patch stops new leaks. Tokens copied earlier stay valid until those sessions end. |
| Nothing was in the logs, so nothing happened. | Mandiant noted that the device's web server did not log requests to the affected part, so defenders needed other logs [2]. |
| Only big companies were hit. | Any organisation running an affected, internet-facing device was exposed until it patched. |
| Resetting user passwords fixes it. | A copied session does not need the password. End sessions as well as changing credentials. |
What can I do this week?
- List every internet-facing gateway or remote access device you run and who patches it.
- Find out how to end all active sessions on each one, before you need to.
- Add "end sessions and change credentials" to your checklist for urgent fixes on these devices.
- Ask whether you can see one session being used from two places.
- Read Session Hijacking for Beginners for the wider idea.
Checklist
- I can explain why a session token is as valuable as a password.
- I know MFA protects sign-in, not a session that already exists.
- I know our internet-facing gateways and who patches them.
- Our urgent fix steps include ending sessions.
- We change credentials for accounts that connect through an affected device.
- We look for one session used from very different places.
- We treat a flaw that was used before the fix as a possible incident.
Common questions
Why is it called CitrixBleed?
The flaw "bleeds" memory: it leaks pieces of the device's memory back to whoever asks in the wrong way. The products were sold under the Citrix and NetScaler names, hence the nickname.
How did attackers get past MFA?
They did not break MFA. They copied a session token issued after someone had already passed MFA, then reused it. No code was needed on anyone's phone. The system simply treated them as that signed-in person[2].
Which devices were affected?
NetScaler ADC and NetScaler Gateway appliances on certain older builds. CISA's advisory lists the exact versions and the fixed builds. If you run one, check its build number against that list and the maker's own advice[1].
Why is patching not enough?
The patch stops the device leaking new tokens. Tokens already copied still match live sessions, so they keep working until those sessions are ended. That is why the follow-up steps matter as much as the update itself.
What else did CISA recommend?
Isolate affected devices until they can be patched, upgrade to a supported version, and change credentials for identities that reach resources through the device. If compromise is suspected, rebuild affected machines and create new credentials[1].
Where next?
Ready for the detail? Read the full breach analysis: CitrixBleed 2023: How Stolen Session Tokens Bypassed MFA. It covers the timeline, the organisations affected and the vendor's remediation advice, drawing on the CISA advisory [1].
Also useful:
- Session Tokens and Cookies for Beginners
- Session Hijacking for Beginners
- Session Token Theft Response Playbook
- Patch Management for Beginners
Related NHI Mgmt Group resources: Vulnerability Management for Beginners, Credential Theft vs Session Hijacking and Ransomware for Beginners.
Key terms
- Post-MFA Session Token
- The token a system issues after you pass sign-in and MFA, which later requests use instead of signing in again.
- CVE
- A public ID number given to a known security flaw, so everyone can refer to the same problem.
- Zero-day
- A flaw that attackers use before the maker has released a fix.
- Memory Leak
- A flaw that lets a program hand back pieces of its memory that should have stayed private.
- Session revocation
- Ending a session so its token stops working and the user must sign in again.
- Stealing the token a browser or device uses to stay signed in, so an attacker can reuse the session.
Sources and further reading
- CISA, FBI, MS-ISAC and ASD's ACSC, "#StopRansomware: LockBit 3.0 Ransomware Affiliates Exploit CVE 2023-4966 Citrix Bleed Vulnerability" (AA23-325A), November 2023. https://www.cisa.gov/sites/default/files/2023-11/aa23-325a_lockbit_3.0_ransomware_affiliates_exploit_cve-2023-4966_citrix_bleed_vulnerability_0.pdf (accessed 30 Nov 2026).
- Mandiant (Google Cloud), "Session Hijacking via Citrix NetScaler CVE-2023-4966". https://cloud.google.com/blog/topics/threat-intelligence/session-hijacking-citrix-cve-2023-4966/ (accessed 30 Nov 2026).
- Xfinity, "Notice to Customers of Data Security Incident". https://assets.comcast.com/assets/dotcom/learn/-Data-Incident.pdf (accessed 30 Nov 2026).