CVE-2026-103089: When a Document ID Exposes Another Patient’s Records
A patient portal accepted a valid logged-in session but did not check that the requested medical document belonged to that user, so changing a numeric document ID returned a link to another patient's record. An authenticated attacker could therefore access other patients' sensitive health documents.
Published on medium.com
Cybersecurity
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
A patient portal is meant to show you your own medical documents. In this case, an authenticated user could change a document ID in a request and receive a link to a document belonging to someone else. The application was checking that a valid session existed, but it was not checking that the requested document belonged to that session's user.
The flaw was tracked as CVE-2026-103089 and handled through coordinated disclosure with CERT.at.
Setup
The scenario required an authenticated patient account. The report does not name the product, the vendor, the affected versions, or the tools used, and it does not include any captured requests or responses. What it describes is the shape of the interaction: the application passed a numeric document ID to the server when requesting a link to a medical record.
Finding it
The application passed a numeric document ID to the server when requesting a link to a medical record. That is the classic precondition for an Insecure Direct Object Reference (IDOR), also called Broken Object Level Authorization (BOLA): an object ID identifies a record, but it should not by itself grant permission to read that record. If the server trusts the ID as proof of entitlement, changing it moves the request onto another patient's data.
Exploitation
Step 1: Request a document link with your own ID
As a logged-in patient, request a link to one of your own medical documents. The request carries a numeric document ID.
Step 2: Change the ID
Modify the document ID in the request to a value belonging to another patient and send it again, keeping the same valid session.
Step 3: Receive the other patient's link
The server accepted the valid logged-in session without adequately verifying that the requested document belonged to that user, and returned a link to the other patient's document. Changing the ID crossed the boundary between one patient's records and another's.
The report does not include the actual request, the parameter name, the response body, or the range of IDs tested.
Root cause
The server performed authentication but not object-level authorisation. A valid session was being checked; the authorisation for the specific document was missing. The server checked the session but not whether the requested document belonged to that user.
Login requirements, unpredictable IDs and rate limits can add protection, but none of them replaces object-level authorisation. In this case the login requirement was present and did not help, because the scenario required an authenticated patient account.
Impact
The documents in question were medical records, so unauthorised access could expose highly sensitive health information. The scenario required an authenticated patient account, but as the researcher puts it, the severity of someone else accessing your individual medical documents is not something that "should not be fixed just because one would need an authenticated account".
The report does not state how many records were reachable or whether the issue was exploited in the wild.
Fix
Every request for a document needs a server-side check that the current user is allowed to access that exact document. If a separate download URL exists, the authorisation must hold there as well. Operators should apply the available updates and review similar endpoints for the same flaw.
Variants to test
- Numeric document IDs on the endpoint that returns a document link. A positive result is a response containing another user's document or a link to it while you are authenticated as yourself.
- A separate download URL, if one exists, that takes the same ID. A positive result is a file served from the download path without an ownership check, even if the metadata endpoint is protected.
- Identifier types other than integers, such as UUIDs or hashed IDs, where the server still looks the object up without comparing it to the session user. A positive result is any object returned for an ID you do not own.
- A positive result is a record returned when either identifier is swapped.
- A positive result is records for IDs outside your own set appearing in the response.
What happened, in plain words
A patient portal is a website where you log in to see your own medical documents. In this case, the portal had a flaw. A person who had logged in as a normal patient could change one number in a request and receive a link to a medical document that belonged to a different patient.
The website did check that you were logged in. What it did not check was whether the document you were asking for was actually yours. That missing check is the whole story. The flaw was given the identifier CVE-2026-103089 and was handled through coordinated disclosure with CERT.at, an organisation that helps researchers and vendors work together on security problems before the details become public.
The pieces you need to know
Before the steps make sense, a few everyday ideas help.
A request. When you use a website, your browser sends messages to a computer somewhere else, called a server, and the server sends messages back. Each message is a request or a response. Think of it like ordering at a counter: you say what you want, the person behind the counter hands it over.
An API. Many websites are built from a browser part and a server part that talk to each other in a structured way. That conversation is often called an API, short for application programming interface. It is simply the set of requests the server understands, for example "give me the link to document 1234". You do not need to be a programmer to trigger these requests: your browser makes them for you, and tools can show them to you.
A session. When you log in, the server needs a way to remember you on the next request, because each request arrives separately. It gives your browser a small piece of data, often called a session cookie or a token, which your browser sends back with every request. Think of it as a wristband you get at an event: the door staff check the wristband, not your face. In this case the wristband was being checked, but nobody checked whether the room you walked into was yours.
An object ID. A database stores records, and each record usually has an identifier, a short label such as a number, so the server can find it again. A document ID is just the label of one medical document. It is like a locker number: the number tells you which locker, but it should not be the only thing standing between a stranger and your belongings.
IDOR and BOLA. Insecure Direct Object Reference (IDOR) is the name for a flaw where the server lets you name an object directly, by its ID, and hands it over without checking that you are allowed to have it. The same problem is also called Broken Object Level Authorization (BOLA). "Authorization" here means permission: not who you are, but what you are allowed to touch. The report points to OWASP's guidance on BOLA for the underlying access-control failure and how to prevent it.
The setup
The scenario needed an authenticated patient account, meaning an ordinary account that had logged in successfully. The report does not name the product, the vendor, the affected versions or the tools used, and it does not include any captured requests or responses. What it describes is the shape of the interaction: the application passed a numeric document ID to the server when requesting a link to a medical record. In plain terms, the browser told the server "give me the link for document number X", and X was a plain number.
Finding it
The application passed a numeric document ID to the server when requesting a link to a medical record. "Sent by the client" means it came from your side, the browser, rather than being decided secretly by the server. That is the classic precondition for an IDOR: if the number is visible and changeable, and the server treats the number as proof that the document is yours, then changing the number moves the request onto someone else's data. An object ID identifies a record, but it should not by itself grant permission to read that record.
Exploitation
Step 1: Request a document link with your own ID
As a logged-in patient, request a link to one of your own medical documents. The request carries a numeric document ID. This first step is the baseline: you do something completely normal, with your own account and your own document, so you can see exactly what a legitimate request looks like. You are not attacking anything yet; you are learning the shape of the conversation.
Step 2: Change the ID
Modify the document ID in the request to a value belonging to another patient and send it again, keeping the same valid session. The only thing that changes is the number. Your login, your wristband, stays exactly the same. The question this step asks is simple: does the server care whose document the number points to, or does it only care that you are logged in?
Step 3: Receive the other patient's link
The server accepted the valid logged-in session without adequately verifying that the requested document belonged to that user, and returned a link to the other patient's document. Changing the ID crossed the boundary between one patient's records and another's. In other words, the answer to the question in step 2 was that the server only checked the wristband. The report does not include the actual request, the parameter name, the response body or the range of IDs tested.
Why it happened
The server performed authentication but not object-level authorisation. Authentication answers "who are you?" and it was working: a valid session was being checked. Authorisation answers "are you allowed to do this particular thing?" and for the specific document it was missing. The server checked the session but not whether the requested document belonged to that user.
Login requirements, unpredictable IDs and rate limits can add protection, but none of them replaces object-level authorisation. A rate limit, for example, only slows down how many requests someone can make; it does not decide which documents are theirs. In this case the login requirement was present and did not help, because the scenario required an authenticated patient account.
Why it matters
The documents in question were medical records, so unauthorised access could expose highly sensitive health information. The scenario required an authenticated patient account, but as the researcher puts it, the severity of someone else accessing your individual medical documents is not something that "should not be fixed just because one would need an authenticated account". A login requirement raises the effort a little, but it does not make the exposure acceptable. The report does not state how many records were reachable or whether the issue was exploited in the wild.
The fix
Every request for a document needs a server-side check that the current user is allowed to access that exact document. "Server-side" means the check happens on the server, where the user cannot edit it, not in the browser. If a separate download URL exists, the authorisation must hold there as well: it is no good guarding the front door if the side door opens with the same key. Operators should apply the available updates and review similar endpoints for the same flaw.
Similar places to look
These are the variants worth testing in a portal like this one. In each case, a positive result means you, logged in as yourself, receive something that belongs to someone else.
- Numeric document IDs on the endpoint that returns a document link. Sequential means the numbers run in order, 1, 2, 3, so they are easy to guess. A positive result is a response containing another user's document or a link to it while you are authenticated as yourself.
- A separate download URL, if one exists, that takes the same ID. A positive result is a file served from the download path without an ownership check, even if the metadata endpoint is protected. The metadata endpoint is the one that describes the document; the download endpoint is the one that hands over the file itself.
- Identifier types other than integers, such as UUIDs or hashed IDs, where the server still looks the object up without comparing it to the session user. A UUID is a long random-looking identifier, and a hashed ID is a value produced by scrambling an identifier with a mathematical function. They are harder to guess, but guessing is not the point: a positive result is any object returned for an ID you do not own.
- A positive result is a record returned when either identifier is swapped.
- An array is simply a list of values sent together. A positive result is records for IDs outside your own set appearing in the response.
Glossary
- API: the set of structured requests a server understands, used by the browser and other software to talk to it.
- Authentication: checking who you are, usually by logging in.
- Authorization: checking what you are allowed to access or do once you are identified.
- BOLA (Broken Object Level Authorization): another name for IDOR, emphasising that the permission check on a specific object is missing.
- CERT.at: an organisation that coordinates disclosure of security problems between researchers and vendors.
- Client: the side that sends requests, normally your browser.
- Coordinated disclosure: a process where a researcher and a vendor agree on timing before details of a flaw are made public.
- CVE-2026-103089: the identifier assigned to this particular vulnerability.
- Document ID: the label, here a number, that the server uses to find one medical document.
- Endpoint: one specific address or operation on a server, such as the one that returns a document link.
- Hashed ID: an identifier transformed by a mathematical function so it does not look like the original.
- IDOR (Insecure Direct Object Reference): a flaw where the server lets you name a record directly by its ID and serves it without checking that it is yours.
- Metadata endpoint: the endpoint that returns information about a document rather than the file itself.
- Object: a single stored record, such as one document or one patient entry.
- Object-level authorization: the check that the current user is allowed to access this exact object.
- OWASP: an organisation that publishes guidance on application security, including on BOLA.
- Patient portal: a website where patients log in to view their own medical information.
- Rate limit: a cap on how many requests can be made in a period of time.
- Request: a message sent from the client to the server asking for something.
- Response: the message the server sends back.
- Server: the computer that stores the data and answers requests.
- Server-side check: a check performed on the server, which the user cannot alter from the browser.
- Session: the server's memory of your login, kept alive by a cookie or token your browser sends with each request.
- Session cookie / token: the small piece of data your browser carries to prove you are logged in.
- UUID: a long, random-looking identifier used instead of a simple number.
- Vulnerability: a weakness in software that allows something to happen that should not.