Skip to content
Misconfiguration Disclosed report Beginner

AWS | Self Registration Internal LibreChat : Access to internal/proprietary LLMs

A publicly reachable LibreChat instance allowed self-registration with any non-corporate email address, so anyone could create an account and use the pre-configured paid model access. An attacker could then query public frontier models and Amazon Titan models at the owner's expense, and possibly reach code execution through the agent code-interpretation feature.

notnotnotveg Follow

Originally disclosed on HackerOne

  • Triaged in 7 days
  • Fixed in 20 days
  • Disclosed after 20 days

Issue Summary

A LibreChat endpoint/UI is found to be accessible to the public Internet, with self registration (for any non AWS/Amazon Corporate domains) enabled, allowing an attacker to use a ChatGPT like UI to access multiple public models (Example : Claude) with the API access it has enabled, as well as Amazon Titan Foundation Models (Premier, Express and Lite).

Endpoint

███

$ dig  +short ██████
███
█████████

Steps To Reproduce

Navigate to ████████ and use the registration form to sign up to the service using any public email services (yopmail as an example).

Optionally, use the account created for this test : Email : ████████Password :██████████Username :█████████

Evidence

████████ ███████ ████ (Evidence of potential RCE, but requires LibreChat paid access. Details in Impact section). ███████

Impact

  • Access public frontier models (Claude, Cohere Command, etc.) using the privileges (paid access) that is pre-configured.
  • Access Amazon Titan Foundation Models (Premier, Express and Lite).
  • Potentially get Remote Code Execution by means of Code Interpretation capabilities when creating a new agent. This requires a paid LibreChat access, and hence was not tested.

The original report as published on HackerOne, by notnotnotveg. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

LibreChat is a ChatGPT-style web interface that can be pointed at a range of model providers. In this report the target was a LibreChat deployment reachable on the public Internet under the AWS-owned domain *.people.aws.dev. The deployment had self registration enabled and accepted sign-ups from any non-AWS, non-Amazon corporate email domain. That combination is the whole issue: a public registration form in front of a backend that already holds API credentials for paid model access.

The researcher classified the weakness as an authentication bypass using an alternate path or channel, and the program rated it low severity. The report was disclosed on 25 August 2025 under the AWS VDP on HackerOne.

Setup

No special tooling was needed beyond a browser and dig. The preconditions were all properties of the deployment itself:

  1. The LibreChat instance was reachable from the public Internet.
  2. Self registration was enabled.
  3. Registration was not restricted to AWS or Amazon corporate domains.
  4. The backend had API access configured for multiple public models and for Amazon Titan Foundation Models.

The report also offers the account created for the test as an alternative to registering; those values are redacted here.

Finding it

The researcher found a LibreChat endpoint and UI exposed to the public Internet. Two things made it worth pursuing. First, the registration form was open to anyone with a public email address, so no corporate identity was required. Second, the instance came with model access already configured, including paid access. A self-service sign-up therefore handed an anonymous outsider the same model privileges the deployment was paying for.

Exploitation

Step 1: Confirm the host

The researcher resolved the host to confirm what was answering.

Bash
$ dig  +short ██████
███
█████████

The command output is redacted in the report. The specific hostname and the returned addresses are redacted in the report.

Step 2: Register with a public email address

The researcher navigated to the LibreChat UI and used the registration form to sign up with any public email service, giving yopmail as an example. No invitation, domain allowlist or corporate identity check stood in the way.

As an alternative to registering, the report offers the account created for the test:

Text
Email : ████████`
Password : `██████████`
Username : `█████████

Those values are redacted here.

Step 3: Use the models

Once signed in, the account could drive the ChatGPT-like UI against the models the instance had configured. The report lists two groups of models reachable this way:

Group Models named in the report
Public frontier models Claude, Cohere Command, and others
Amazon Titan Foundation Models Premier, Express and Lite

The access used the privileges, including paid access, that were pre-configured on the instance.

Step 4: Note the code interpretation path

The evidence section records a sign of potential remote code execution, but notes that reaching it requires paid LibreChat access, so it was not tested. The details are left to the impact section.

Root cause

The report does not describe the configuration or code behind the deployment. What it establishes is the design mistake: self registration was left open to arbitrary public email domains on an instance that carried pre-configured, paid model credentials. Self registration was open to arbitrary public email domains on an instance that carried pre-configured, paid model credentials.

Impact

An unauthenticated outsider could create an account and then, through the UI, consume the instance's model access. In practice that means:

  • Access to public frontier models such as Claude and Cohere Command, using the paid privileges pre-configured on the instance.
  • Access to the Amazon Titan Foundation Models Premier, Express and Lite.
  • A potential path to remote code execution through the code interpretation capability when creating a new agent. The researcher states this requires paid LibreChat access and was not tested, so it remains a possibility rather than a demonstrated result.

Fix

The report does not say what remediation was applied.

  1. Other self-hosted chat frontends. Look for LibreChat, Open WebUI and similar deployments on corporate domains. A positive result is a registration form that accepts a throwaway mailbox and, after sign-up, a model picker backed by credentials you did not supply.
  2. Domain allowlist bypasses. Where registration is restricted, try subdomain tricks, plus-addressing and case variations against the allowlist. A positive result is a successful sign-up with an address outside the intended corporate domain.
  3. Invitation and reset flows. Check whether an invitation link or password reset can be replayed or reused to create additional accounts. A positive result is a second working account from a single invitation.
  4. Agent and tool features. On any account you obtain, check whether agent creation exposes code interpretation or similar execution features. A positive result is a tool that runs code under the instance's own paid access.

This class of bug hides in forgotten or shadow deployments of self-hosted tools on corporate domains: chat frontends, dashboards and internal apps that were meant for staff but ended up on the public Internet. During recon, the signals are a login or registration page on a subdomain of a large organisation, a product name in the page title or assets that identifies a self-hosted open-source tool, and a sign-up form that does not ask for a corporate address. The quickest confirmation is to register with a disposable mailbox and see whether the application grants real functionality, here model access, without any further approval.

On impact, the researcher showed enough by naming the specific model families reachable through the pre-configured paid access, and by flagging the code interpretation path as a possibility while stating plainly that it was not tested.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

A web page that looks and works like ChatGPT was left open on the public Internet, on a domain owned by AWS. Anyone could create an account on it using an ordinary personal email address, and once signed in, that stranger could chat with expensive AI models that the site had already been set up to pay for. The person who found it signed up and reported that the instance's pre-configured model access was reachable through the UI. The report was rated low severity and disclosed on 25 August 2025 under the AWS Vulnerability Disclosure Program on HackerOne.

To follow the rest of this article you only need to know how to use a browser. Every technical idea is explained as it appears.

Some words you will meet

Before the details, a few everyday ideas:

  • A web application: a program you use through your browser. Your online banking is one; so is a chat site.
  • A server: the computer somewhere else that runs the application and stores its data. Your browser asks it questions and it answers.
  • A domain: the part of a web address after the @ in an email or before the first slash in a URL, such as example.com. Organisations own domains and can create subdomains under them, like chat.example.com.
  • An API: a way for one program to talk to another without a human clicking buttons. Think of a restaurant: the menu and the waiter are the API. You do not walk into the kitchen; you ask through a fixed channel, and the kitchen sends back a dish. Here, the chat site asks an AI provider's API for answers on your behalf.
  • An API key or credential: a secret string of characters that proves to the AI provider that the request comes from a paying customer. It is like a membership card: whoever holds it gets the member prices. The site owner stores these keys on the server so users never see them.
  • A model: the AI system that produces the answers. Some models are free or cheap; "frontier" models are the most capable and the most expensive to use.
  • Self registration: a sign-up form that lets visitors create their own accounts, as opposed to an administrator creating accounts for people.
  • An allowlist: a list of things that are permitted. A domain allowlist for registration means only email addresses from approved domains can sign up.
  • Authentication: proving who you are, usually by logging in. Authorisation is a separate question: what you are allowed to do once you are in.
  • An authentication bypass: a weakness where someone gets in, or gets more access than intended, without going through the check that was supposed to stop them. The report's classification, "authentication bypass using an alternate path or channel", is the weakness label applied to the finding.
  • Remote code execution (RCE): the most serious kind of computer bug, where an attacker gets their own instructions to run on someone else's server. It is like convincing a vending machine not only to give you a drink but to open its cash box.
  • dig: a small command-line tool that asks the Internet's address book, called DNS, which numeric address belongs to a domain name. DNS is the system that turns names people can read into the numbers computers use.

Context: what the product is and why it mattered

LibreChat is a free, self-hostable chat interface in the style of ChatGPT. "Self-hostable" means an organisation can install it on its own server and point it at whichever AI providers it likes. The administrator configures the API keys once, and every user of the site then chats through those keys.

In this report the target was a LibreChat installation reachable from the public Internet under the AWS-owned domain *.people.aws.dev. The * is a wildcard meaning any subdomain of people.aws.dev. The installation had self registration switched on, and it accepted sign-ups from any email domain that was not an AWS or Amazon corporate domain.

That combination is the whole issue. A public sign-up form sat directly in front of a backend that already held paid API credentials. The form was the only door, and it was unlocked.

The researcher classified the weakness as an authentication bypass using an alternate path or channel, and the program rated it low severity. The report was disclosed on 25 August 2025 under the AWS VDP on HackerOne.

Setup: what was needed

Almost nothing. The researcher used a browser and the dig command. Everything else was a property of the deployment itself:

  1. The LibreChat instance could be reached from the public Internet.
  2. Self registration was enabled.
  3. Registration was not limited to AWS or Amazon corporate domains.
  4. The backend had API access configured for several public models and for Amazon Titan Foundation Models.

The report also offers the account created for the test as an alternative to registering; those details are redacted here.

Finding it

The researcher came across a LibreChat endpoint and user interface exposed to the public Internet. Two things made it worth pursuing. First, the registration form was open to anyone with a public email address, so no company identity was needed. Second, the instance came with model access already configured, including paid access. A self-service sign-up therefore handed an anonymous outsider the same model privileges the deployment was paying for.

Exploitation

Step 1: Confirm the host

The researcher first resolved the hostname to see what was answering.

Bash
$ dig  +short ██████
███
█████████

Line by line:

  • $ dig runs the DNS lookup tool. The $ is just the prompt symbol showing this is a command typed into a terminal.
  • +short tells dig to print only the answer, without the long explanatory output it normally produces.
  • ████████ is the hostname being looked up. It is redacted in the report.
  • The following lines are the command output, redacted in the report.

Why do this at all? Before spending time on a target, you confirm that the name really points at a live server and that you are looking at the right thing. It is the online equivalent of checking that the address on the door matches the one on your invitation.

Step 2: Register with a public email address

The researcher opened the LibreChat interface and used the registration form to sign up with any public email service, giving yopmail as an example. Yopmail is a website that gives you a disposable mailbox without any proof of identity. No invitation, no domain allowlist and no corporate identity check stood in the way.

As an alternative to registering, the report offers the account created for the test:

Text
Email : ████████`
Password : `██████████`
Username : `█████████

These are the account details offered in the report, redacted here.

Why register at all? Because the question is not whether the page loads, but whether an ordinary outsider can get past the front door. Signing up with a throwaway mailbox answers that directly.

Step 3: Use the models

Once signed in, the account could drive the ChatGPT-style interface against the models the instance had configured. The report lists two groups of models reachable this way:

Group Models named in the report
Public frontier models Claude, Cohere Command, and others
Amazon Titan Foundation Models Premier, Express and Lite

The access used the privileges, including paid access, that were pre-configured on the instance. In restaurant terms: the site owner had a tab open with the kitchen, and the researcher was simply allowed to order from the menu on that tab.

Step 4: Note the code interpretation path

The evidence section records a sign of potential remote code execution, but notes that reaching it requires paid LibreChat access, so it was not tested. The details are left to the impact section. In other words, the researcher saw a feature that looked like it could run code, but reaching it requires paid LibreChat access, so it was not tested. Reporting an untested possibility as a possibility, rather than as a proven result, is the honest way to handle it.

Root cause

The report does not describe the configuration or code behind the deployment. What it establishes is the design mistake: self registration was left open to arbitrary public email domains on an instance that carried pre-configured, paid model credentials. Self registration was open to arbitrary public email domains on an instance that carried pre-configured, paid model credentials.

Impact

An unauthenticated outsider could create an account and then, through the interface, consume the instance's model access. In practice that means:

  • Access to public frontier models such as Claude and Cohere Command, using the paid privileges pre-configured on the instance.
  • Access to the Amazon Titan Foundation Models Premier, Express and Lite.
  • A potential path to remote code execution through the code interpretation capability when creating a new agent. The researcher states this requires paid LibreChat access and was not tested, so it remains a possibility rather than a demonstrated result.

Fix

The report does not say what remediation was applied.

If you want to look for similar problems yourself, these are the directions the report suggests. Each one describes what a positive result looks like, so you know when you have found something.

  1. Other self-hosted chat frontends. Look for LibreChat, Open WebUI and similar deployments on corporate domains. A positive result is a registration form that accepts a throwaway mailbox and, after sign-up, a model picker backed by credentials you did not supply.
  2. Domain allowlist bypasses. Where registration is restricted, try subdomain tricks, plus-addressing and case variations against the allowlist. Plus-addressing means writing [redacted], which many mail systems deliver to the same inbox. A positive result is a successful sign-up with an address outside the intended corporate domain.
  3. Invitation and reset flows. Check whether an invitation link or password reset can be replayed or reused to create additional accounts. A positive result is a second working account from a single invitation.
  4. Agent and tool features. On any account you obtain, check whether agent creation exposes code interpretation or similar execution features. A positive result is a tool that runs code under the instance's own paid access.

This class of bug hides in forgotten or shadow deployments of self-hosted tools on corporate domains: chat frontends, dashboards and internal apps that were meant for staff but ended up on the public Internet. A shadow deployment is one that was set up outside the usual process, so nobody is watching it.

During recon, meaning the early survey of what an organisation has exposed, the signals are:

  • a login or registration page on a subdomain of a large organisation;
  • a product name in the page title or assets that identifies a self-hosted open-source tool;
  • a sign-up form that does not ask for a corporate address.

The quickest confirmation is to register with a disposable mailbox and see whether the application grants real functionality, here model access, without any further approval.

On impact, the researcher showed enough by naming the specific model families reachable through the pre-configured paid access, and by flagging the code interpretation path as a possibility while stating plainly that it was not tested.

Glossary

  • API: a fixed way for one program to ask another for something, without a human clicking through screens.
  • API key / credential: a secret string that proves a request comes from a paying customer.
  • Allowlist: a list of things that are permitted, such as approved email domains.
  • Authentication bypass: getting in, or getting more access than intended, without passing the check that was meant to stop you.
  • Authorisation: what you are allowed to do once you are identified.
  • Backend: the server-side part of an application that holds data and credentials, as opposed to what you see in the browser.
  • Code interpretation: a feature that lets an AI tool run code, for example to do calculations or process files.
  • Credential: any secret used to prove identity or entitlement, such as a password or API key.
  • dig: a command-line tool that looks up which numeric address belongs to a domain name.
  • DNS: the Internet's address book, turning readable names into numeric addresses.
  • Domain: the named part of an address, such as example.com, which an organisation owns.
  • Endpoint: a specific address on a server that an application answers on.
  • Frontier model: one of the most capable, and usually most expensive, AI models available.
  • Hostname: the name of a particular server, such as chat.example.com.
  • LibreChat: a free chat interface in the style of ChatGPT that organisations can install on their own servers.
  • Model: the AI system that produces answers.
  • Plus-addressing: writing an address as [redacted], which many mail systems still deliver to the same inbox.
  • Public Internet: the ordinary, globally reachable network, as opposed to a private company network.
  • Recon: the early survey of what an organisation has exposed online.
  • Remote code execution (RCE): a bug that lets an attacker run their own instructions on someone else's server.
  • Self registration: a sign-up form that lets visitors create their own accounts.
  • Self-hosted: installed and run on an organisation's own server rather than bought as a service from a vendor.
  • Severity: a rating of how serious a finding is, here low.
  • Shadow deployment: an installation set up outside the usual process, so nobody is monitoring it.
  • Subdomain: a name created under a domain, such as chat in chat.example.com.
  • VDP (Vulnerability Disclosure Program): a scheme where an organisation invites outsiders to report security problems, without necessarily paying a bounty.
  • Wildcard (*): a symbol meaning any name in that position, so *.people.aws.dev means any subdomain of people.aws.dev.
  • Yopmail: a website offering disposable email mailboxes that require no proof of identity.

More by notnotnotveg

View all

1 more disclosed report, best first.

More from AWS VDP

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.