Arviser

Corrected on 2026-12-04: Step 2 of the fix said to upgrade to 1.13.0 or later. 1.13.0 fixes this record, but IBM bulletin 7297616 of 20 November lists 1.0.0 through 1.13.0 as affected by 29 other Langflow CVEs, fixed in 1.13.1. The target is now the current 1.13.5, with 1.13.1 as IBM's minimum, plus the changes in 1.13.x that can break an upgrade (release notes and Langflow's docs). Our lab runs still stop at 1.13.4.

Corrected on 2026-11-30: GitHub corrected the advisory (path and package ecosystem) and closed issue #16663 a few hours after publication. The page now credits that correction to the advisory only; the CVE record at NVD is unchanged and still gives the old path.

Langflow auto_login (CVE-2026-9103): tested on four versions and four setups, and a check for your instance

Facts

Test
KB-T-0006 · AI applications
Record published
2026-07-17 · CVE-2026-9103 published in NVD (IBM as CNA): auto_login issues superuser tokens without authentication · source
Fix
2026-06-23 · Langflow 1.10.1 on PyPI: short-lived token, no credentialed wildcard CORS · source
Fix
2026-10-22 · Langflow 1.13.0 on PyPI: AUTO_LOGIN off by default · source
Record published
2026-11-26 · GHSA-fjgc-vj2f-77hm, Langflow repository advisory · source
Our test run
2026-11-26 · Our lab run 3: Langflow 1.10.0, 1.12.10, 1.13.0 and 1.13.4, four setups, three nginx setups, controls, 3 runs per cell
Our test run
2026-11-28 · Our lab runs 4 and 5: every cell repeated with the same images, same verdicts
CVE
CVE-2026-9103
GitHub advisory
GHSA-fjgc-vj2f-77hm
Records
GHSA-fjgc-vj2f-77hm (Langflow repository advisory, published 2026-11-26), CVE-2026-9103 (IBM as CNA, NVD published 2026-07-17)
Score
Critical, CVSS 3.1 9.8 (advisory and NVD)
Affected, per the advisory
langflow before 1.13.0 with default settings; any version with LANGFLOW_AUTO_LOGIN=true
Fixes
1.10.1 (2026-06-23): short-lived token, no credentialed wildcard CORS. 1.13.0 (2026-10-22): AUTO_LOGIN off by default. Dates from PyPI
Tested by us
2026-11-26, official images 1.10.0, 1.12.10, 1.13.0, 1.13.4; 31 cells, 93 runs, lab run 3. Repeated 2026-11-28 with the same images: same result in every cell (run 4, run 5)
Exploitation
None in the records. Not in the CISA KEV catalog of 2026-11-27; six other Langflow records are
Check
check-langflow-auto-login.sh <base-url>, one GET without credentials
Corrected
GitHub corrected the advisory's path and ecosystem on 2026-11-30, after our report; the CVE record at NVD is unchanged
Next review
2027-05-30

Short answer

Langflow's auto_login endpoint gives a superuser token to anyone who asks when automatic login is on (GHSA-fjgc-vj2f-77hm, CVE-2026-9103). Both records said that was the default before 1.13.0; in our lab that is true for the package, but the official Docker image has switched automatic login off since 1.10.2, and LANGFLOW_AUTO_LOGIN=true still exposes 1.13.4. The route is /api/v1/auto_login. GitHub corrected the advisory to that path and to PyPI on 2026-11-30, after our report (section 3); the CVE record at NVD still gives /api/v1/login/auto_login, which answers 404. Run our check against your instance: exit 1 means exposed.

1. What the records say

The advisory said /api/v1/login/auto_login returns a superuser bearer token to an unauthenticated caller whenever AUTO_LOGIN is on, and that AUTO_LOGIN defaulted to True (GHSA-fjgc-vj2f-77hm). On 2026-11-30 GitHub corrected the path to /api/v1/auto_login and the package ecosystem from npm to PyPI. Before 1.10.1 the token lasted 365 days, and the default CORS settings let any origin read responses with credentials. Release 1.10.1 made the token short-lived and forced credentials off for a wildcard origin. Release 1.13.0 changed the default to False. The advisory adds that a superuser can create and run flows that execute Python on the server, and that deployments which set LANGFLOW_AUTO_LOGIN=true "remain single-user/dev-mode by design".

The CVE record from IBM says "IBM Langflow OSS 1.0.0 through 1.10.0" and still gives the uncorrected path, /api/v1/login/auto_login (CVE-2026-9103 at NVD, unchanged since 2026-10-24). The advisory says every release before 1.13.0 issued the token in the default configuration. The version ranges differ between the two records, and now so does the path. We follow the advisory, and the lab shows why both ranges can be read as right for some installs (section 3).

2. What we tested

One Linux host, amd64, SQLite, one internal Docker network, no published ports, nothing privileged. Official langflowai/langflow images pulled by digest. No compose file with PostgreSQL, Helm chart or desktop app. Four setups per version:

Each cell ran three times in fresh containers. We wrote the expected result of every cell before the first run. In cells that came back exposed, a lab-only script repeated the first two steps of the advisory's own proof (get a token, call /api/v1/users/whoami) and kept only the token lifetime and the is_superuser field.

Tested by us, 2026-11-26, repeated 2026-11-28 (summary, raw files):

Version Image default Package default AUTO_LOGIN=true Hardened
1.10.0 Exposed, token valid 365 days Exposed, 365 days Exposed, 365 days Not exposed
1.12.10 Does not start Exposed, 1 hour + 7-day refresh Exposed, 1 hour + 7-day refresh Not exposed
1.13.0 Does not start Does not start Exposed, 1 hour + 7-day refresh Not exposed
1.13.4 Does not start Does not start Exposed, 1 hour + 7-day refresh Not exposed

Every exposed token belonged to a superuser, in 3 of 3 runs in each cell. "Does not start" means Langflow exited at startup with Username and password must be set, so there was nothing to ask. We had expected "not exposed" there and for the proxy cell in front of 1.13.0 as shipped: six mismatches.

"1 hour + 7-day refresh": the access token lasted 3,600 seconds in our runs, and since 1.10.1 the same answer also carries a refresh token. The advisory calls it "a rotating refresh token"; the source sets REFRESH_TOKEN_EXPIRE_SECONDS to 7 days (auth settings at v1.13.4).

From the record, not run by us: 1.10.1 and earlier images carry no LANGFLOW_AUTO_LOGIN variable (Docker Hub image config), so they behave like the package default, which the advisory says is on. Versions between 1.10.0 and 1.12.10 were not run.

Behind a reverse proxy (nginx 1.30.8, Langflow 1.12.10 with AUTO_LOGIN=true):

Proxy Check from outside Check from inside, past the proxy
Plain pass-through Exposed Exposed
403 rule for /api/v1/login/auto_login (the CVE record's path) Exposed Exposed
403 rule for /api/v1/auto_login (the route in the source) Blocked Exposed

"Inside" is the same container asked directly, past the proxy (cell proxy-block-inside, 3 of 3 runs). All three proxy rows sit in front of that one container, so the inside answer is the same for each.

A plain proxy in front of hardened 1.13.0 passed Langflow's own refusal through, and the check said not exposed.

3. What the lab showed beyond the records

The path the CVE record gives does not exist. Langflow answered 404 for /api/v1/login/auto_login on all four versions we ran (1.10.0 in twelve runs, the others in one probe each). The route is /api/v1/auto_login: the login router has no prefix, and the endpoint is @router.get("/auto_login") in login.py at the 1.7.3, 1.9.6, 1.10.0, 1.12.10, 1.13.0 and 1.13.4 tags (source at v1.13.4). A check or a firewall rule copied from the CVE record's path tests or blocks nothing. Our own first test version asked that path and reported "not tested" for all twelve 1.10.0 runs, which is how we found it.

We reported the wrong path, and the advisory's listing of the package under npm instead of PyPI, in public Langflow issue #16663 on 2026-11-27. On 2026-11-30 at 13:20 UTC GitHub corrected the advisory to /api/v1/auto_login and PyPI, and closed the issue with: "Thank you, @nareyko. It was fixed." The CVE record at NVD has not changed and still gives the old path.

The install method decides the default. The official image has set LANGFLOW_AUTO_LOGIN=false since 1.10.2. We read the variable in the Docker Hub config of nine tags from 1.10.2 to 1.13.4 (1.10.2, 1.10.3, 1.11.0, 1.11.6, 1.12.0, 1.12.6, 1.12.10, 1.13.0, 1.13.4; our copy), and in the image build file at v1.10.2. It came in with commit c6dbca3 ("have images default auto_login to false", PR #13822).

The package default stayed on until 1.13.0. So for 1.10.2 to 1.12.10, "before 1.13.0 is exposed" is true for pip and uv installs and false for the official image left at its defaults. The Langflow docs date the image change "as of Langflow 1.11.x" (Docker deployment docs at v1.13.4); the image configs show it from 1.10.2.

"Off" without a password is not a running service. From the 1.10.2 image on, and in the package from 1.13.0 on, Langflow will not start with automatic login off and no LANGFLOW_SUPERUSER_PASSWORD. So every running instance of those versions went through a choice: set a password, or set LANGFLOW_AUTO_LOGIN=true. The second is one line, and the Langflow docs show it in their custom-image examples (docker run -p 7860:7860 -e LANGFLOW_AUTO_LOGIN=true myuser/langflow-custom:1.0.0, same docs page), and showed it in the quickstart of the 1.10.2 and 1.10.3 docs (docs at v1.10.2). In our view that makes AUTO_LOGIN=true the setup to look for first, on any version, including 1.13.4.

The 1.10.1 token change is visible. On 1.10.0 the token lasted 31,536,000 seconds (365 days). On 1.12.10 and later it lasted 3,600 seconds. That matches the advisory.

4. Check your own instance

sh check-langflow-auto-login.sh https://langflow.internal.example

It needs sh and curl (script). It sends one GET without credentials to /api/v1/auto_login, and to the CVE record's path only if the first answers 404. It never prints, stores or reuses a token: if one comes back, it reports the length and drops it. Run it only against an instance you own or are allowed to test.

Exit Verdict What to do
0 NOT EXPOSED: Langflow itself answered 403 with "auto_login": false Nothing for this record. Check again after each change of image or settings
1 EXPOSED: the answer carried an access token Fix now (section 5), then run it again
2 NOT TESTED: no answer, a timeout, a redirect, 404, 5xx, or an answer that is not Langflow's Point it at the right base URL, or run it where it can reach Langflow
3 BLOCKED: a 401 or 403 that did not come from Langflow A proxy or gateway refused this path. Run the check again from inside, behind it

Only exit 0 means "not exposed", and only when Langflow's own message comes back. In the lab the script gave "not tested" for a hung port, a catch-all page, a 404 server, an unknown host, a redirect and a JSON answer without a token, and "blocked" for a server that refuses every path, 3 of 3 runs each. It gave "exposed" for a fake server that returns a marker token.

Exit 0 covers this record only. It says nothing about the other Langflow records (code execution through flows and validation endpoints), access after sign-in, API keys created earlier, or whether an old token still works after an upgrade. It sees only what is reachable from where you run it. Behind a load balancer, run it against each replica's own address, and again after each deploy: one request can reach a replica with different settings.

5. Fix

Before you change anything on an existing install. From the 1.10.2 image, and in the package from 1.13.0, Langflow will not start with automatic login off and no LANGFLOW_SUPERUSER_PASSWORD. On an existing install, Langflow's docs say that password "does not overwrite a non-legacy password on an existing account", and that "creating a different superuser does not transfer ownership of the existing account's flows". So follow Upgrade an existing auto-login installation first: back up the database and configuration directory, keep the encryption key, set a password on the existing superuser account, and set LANGFLOW_SUPERUSER to that account's name. Do not fix the startup error by setting LANGFLOW_AUTO_LOGIN=true. That keeps the instance exposed.

Read LANGFLOW_AUTO_LOGIN where the service reads it: the container (docker inspect), .env, the compose file, Helm values and docker run lines. env in your own shell says nothing about the service.

  1. If it says true on an instance anyone else can reach, prepare the account as above, then set it to false with LANGFLOW_SUPERUSER_PASSWORD. That held on every version we ran.

  2. Upgrade to the current release, 1.13.5 from 2026-12-01, after the preparation above; IBM's minimum is 1.13.1. 1.13.0 turned the package default off, which fixes this record, but IBM's bulletin of 20 November lists 1.0.0 through 1.13.0 as affected by 29 other Langflow CVEs, three of them reachable without sign-in, fixed in 1.13.1. Per the release notes and Langflow's docs, other changes on the way can stop things working, among them: a pip install of 1.11.x should follow the docs' replacement procedure, because an in-place upgrade "can leave incompatible provider packages installed"; local Chroma knowledge bases move to SQLite in 1.13.0; from 1.13.2, every webhook run needs the flow owner's API key (403 without it), and LANGFLOW_WEBHOOK_AUTH_ENABLE=false no longer opens webhooks; from 1.13.2, custom components need a superuser by default (LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=false restores the old behaviour and lets every user run Python on the server); project MCP and A2A endpoints with unset authentication, and with LANGFLOW_AUTO_LOGIN=false also those set to None, require the project owner's credentials (by default an API key) from 1.13.2, tightened in 1.13.4; and the Dotenv component no longer loads .env content from 1.13.4. The list is not complete; read the release notes for each version you skip. We ran none of these upgrades; our runs stop at 1.13.4.

  3. Set LANGFLOW_CORS_ORIGINS to the origins of your own front end, as the advisory advises for any version.

  4. If you cannot upgrade or change the setting today, a reverse-proxy rule that refuses /api/v1/auto_login (the route in the source, not the CVE record's path) blocked the request from outside in our lab. It did nothing for requests that reach Langflow directly, so treat it as a stopgap. It does not help if LANGFLOW_SKIP_AUTH_AUTO_LOGIN=true is set: then other API endpoints accept requests without a token (same docs page).

  5. If any instance that issued these tokens was reachable by people you do not trust, on any affected version: revoke API keys you did not create, check for unknown users and flows, and rotate the provider keys stored in it. A token from 1.10.0 was valid for 365 days in our lab, and later versions also hand out a 7-day refresh token. Langflow's docs say "Disabling auto-login prevents new anonymous sessions; it does not revoke previously issued sessions or API keys" (same docs page). We did not test that. This step is our advice, not the advisory's.

6. What we ran

Item Value
Lab langflow-auto-login, arviser-labs commit ac1f389
Images langflowai/langflow 1.10.0 sha256:0a496cd7…80c6a, 1.12.10 sha256:b490f1aa…a6c9, 1.13.0 sha256:36a1cf1e…782b, 1.13.4 sha256:266a12cd…a34bfd8f (amd64); nginx 1.30.8; curl 8.23.0
Installed version Read inside each container: 1.10.0, 1.12.10, 1.13.0, 1.13.4
Runs 3 per cell, fresh containers each time; 31 cells, 93 runs; 25 cells matched the expectation in every run, 6 did not (Langflow did not start)
Expected results Written before the runs, in four dated versions (v1, v2, v3, v4), each saying what was seen before it
Repeat, 2026-11-28 Same images by digest, check version 4, expected results v4 written first. Run 4: controls, 1.10.0 and 1.12.10. Run 5: controls, 1.13.0 and 1.13.4. Every cell gave the same verdict as in run 3, 3 of 3 runs. Run 4 also ran 1.13.0, at a time when another lab on the same host used the same container names, so we did not use those cells and repeated them in run 5
Earlier runs Run 1 (test version 1, the CVE record's path, all 1.10.0 runs not tested) and run 2 (stopped during 1.12.10) are kept
Runner, date Claude Opus 5.5, 2026-11-26 and 2026-11-28. Independent check by a separate agent, 2026-11-27 and 2026-11-28. Reviewed and approved for publication by Vadim Nareyko, 2026-11-30
Expiry Stale when Langflow releases after 1.13.4. 1.13.5 came out on 2026-12-01 and has not been run. Re-run on it

Langflow gave the same answer in every run. Three runs show the lab is stable; they are not a rate.

Sources

Primary records first. Record identifiers link from the facts box.

Records and release notes

Vendor documentation and statements

Our lab

Corrections

  • 2026-12-04: Step 2 of the fix said to upgrade to 1.13.0 or later. 1.13.0 fixes this record, but IBM bulletin 7297616 of 20 November lists 1.0.0 through 1.13.0 as affected by 29 other Langflow CVEs, fixed in 1.13.1. The target is now the current 1.13.5, with 1.13.1 as IBM's minimum, plus the changes in 1.13.x that can break an upgrade (release notes and Langflow's docs). Our lab runs still stop at 1.13.4.
  • 2026-11-30: GitHub corrected the advisory (path and package ecosystem) and closed issue #16663 a few hours after publication. The page now credits that correction to the advisory only; the CVE record at NVD is unchanged and still gives the old path.

Report an error to contact@arviser.com.

How this page was made: Claude Opus 5.5, an AI model, ran the lab, read the records and the Langflow source and docs, and wrote this page. A separate AI agent checked the claims against the sources and the lab record in several rounds on 27 and 28 November 2026, and the page and the lab record were corrected after each round. Vadim Nareyko approved the tested-threats programme, which this page follows, on 27 November 2026, and reviewed and approved this page for publication on 30 November 2026. Vadim Nareyko found and corrected the advisory/issue update directly the same day.

Text and data on this page: CC BY 4.0. Code in our lab: MIT. Quoted third-party material keeps its own terms.

Request a security review