Security issues with using PHPs escapeshellarg

Published
2025-09-17T14:05:53.526+02:00 13 November 2013
Using user supplied data on the command line is traditionally a security disaster waiting to happen.

Using user supplied data on the command line is traditionally a security disaster waiting to happen. In an infinite universe there are however times when you might need to do just that. You will be glad to know that PHP provides two functions to aid you with security in those situations:escapeshellcmd and escapeshellarg.

Read the full post and explore our Technical Blog here.

Related stories
Showing 394 results
25 November 2026 INSIGHT

Why Passive Radar's Time Has Come

The air threat picture is changing fast. Drones that were once the preserve of militaries and specialist operators are now cheaper, more accessible and significantly more capable than they were a few years ago. At the same time, critical national infrastructure (CNI), military installations and public spaces are under growing pressure to maintain awareness of the airspace around them. Understanding what is happening above us has never been more important. That challenge was one of the driving forces behind our work to develop a new passive radar capability. While our initial inspiration came from a military problem, what we have created has the potential to address a much broader set of challenges across both defence and civilian environments.
Get in touch
Eldar Marcussen

Cyber Security Consultant