VOOZH about

URL: https://thenewstack.io/salt-security-finds-serious-graphql-api-security-hole/

⇱ Salt Security Finds Serious GraphQL API Security Hole - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-01-06 09:49:11
Salt Security Finds Serious GraphQL API Security Hole
in-depth-news,
API Management / Security / Software Development

Salt Security Finds Serious GraphQL API Security Hole

Salt Security researchers have found a serious GraphQL API authorization vulnerability in a B2B financial technology (FinTech) platform.
Jan 6th, 2022 9:49am by Steven J. Vaughan-Nichols
👁 Featued image for: Salt Security Finds Serious GraphQL API Security Hole

GraphQL, the open source query language for application programming interfaces (APIs), is very powerful. With great power comes great responsibility, as Spider-Man reminds us, and sometimes developers go badly wrong. And, that’s exactly what happened, according to Salt Security, a leading API security company, when their researchers found a GraphQL API authorization vulnerability in a B2B financial technology (FinTech) platform.

Whoops.

Salt Labs, Salt Security’s research branch, found the security holes while investigating the FinTech company’s mobile applications and Software-as-a-Service (SaaS) platform. The root of the problem lay in authorization-level flaws. Such errors are endemic with GraphQL nested queries, Salt Labs found that the failure to implement authorization checks correctly meant the researchers could submit unauthorized transactions against any customer account and harvest any customer’s sensitive data.

“GraphQL provides some advantages in query options compared to REST APIs. With this flexibility, however, comes risk, since a single API call can include multiple separate queries,” said Roey Eliyahu, Salt Security’s co-founder and CEO. “As GraphQL gains traction, our goal is to provide users with the intelligence, capabilities, and support to develop more secure API environments.”

All too Easy

With GraphQL, it’s all too easy to leave such security holes in your GraphQL code. That’s because, as Khalil Stemmler, a developer advocate at the GraphQL developer company, Apollo, has pointed out, “GraphQL gives clients the ability to ask for data in a variety of different ways. Because of the various entry-points available to request data, it’s possible to write exceptionally large nested queries.

He’s not kidding. It is all too possible to write GraphQL queries that, while perfectly legitimate, can crash your server or eat up far more of your cloud resources than your budget can handle.

Set an API Security Strategy

In addition, according to the Salt Security State of API Security Report, Q3 2021, 62% of organizations have no or just a basic API security strategy in place. There is no excuse for this. As the OWASP GraphQL Cheat Sheet points out, if you don’t protect your APIs from such simple attacks as not validating or sanitizing your API queries, you can end up in a world of hurt. Can you say, for example, SQL Injection? I knew you could.

As Brian Schwarz, Fortinet‘s director of application security products, recently observed, organizations “may have multiple development teams with their own approach and level of scrutiny. This decentralized approach makes it difficult to maintain a consistent security posture across the API attack surface.

Indeed it is, and this protection weakness is particularly worrisome since cyberattacks targeting APIs are on the rise alongside the adoption of relatively new technologies such as GraphQL, which has doubled from 2020 to 2021.

In this particular case, Salt Labs uncovered a GraphQL authorization flaw that could have been used to manipulate API calls to exfiltrate sensitive user data and initiate unauthorized transactions. This is not what you want from your FinTech applications.

Adding insult to injury, the platform also had API calls, which accessed an API endpoint that required no authentication. In other words, anyone can enter a transaction identifier and look up past financial transactions. Put both flaws together, and an attacker could steal vital user information, and, oh yes, transfer funds out of customers’ accounts without their knowledge. This is a critical failure if ever there was one.

“Without dedicated API security tooling in place, organizations with API-based applications and platforms are opening the door to serious risks. The prevailing assumption in the industry around GraphQL is that these APIs are uncommon, obscure targets of attack and therefore safer,” said Michael Isbitski, Salt Security’s Technical Evangelist.

Security as an Afterthought

Really, can anyone be that stupid today? Oh yeah, that’s right for many programmers, security comes as an afterthought.

Isbitsku continued “Security through obscurity has always been a poor strategy, and the complexity of GraphQL APIs makes securing them more challenging. The Salt Labs research demonstrates that missteps in GraphQL APIs are leading to vulnerabilities and new attack vectors that leave organizations at risk.”

It would be great if API gateways and web application firewalls (WAFs) were enough. They aren’t. As Curtis Simpson, a CISO at Armis Security, said, “Tools like WAFs and API gateways don’t have any context for what’s happening across APIs and, in turn, cannot effectively detect or protect against exploitation. Salt pulls together all the activity of all users, so it can find and stop attackers in their tracks.”

Purpose-Built Security Tool

Thus, Salt Labs suggests that its newly updated Salt Security API Protection Platform is what you need. This is a purpose-built API security tool to protect GraphQL APIs across their entire life cycle. With it, you can discover APIs, mitigate data exposure, stop attacks, and eliminate vulnerabilities at their source.

This works by applying its API Context Engine (ACE) architecture. This uses an AI/ ML-based Big Data engine, to parse each GraphQL query to identify unique object entities, deliver a complete inventory of GraphQL APIs, and a baseline for identifying and stopping attacks. It also integrates with popular API DevOps tools, such as Apigee, Mulesoft, and Kong to streamline remediation.

You can check Salt Security’s offerings out to see if they will meet your demands. Considering how much trouble you can get in if you get your GraphQL APIs wrong, I urge you to look at these.

TRENDING STORIES
Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting-edge PC operating system, 300bps was a fast internet connection, WordStar was the state-of-the-art word processor, and we liked it.
Read more from Steven J. Vaughan-Nichols
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Armis.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.